Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007526/0.0007529, allocations: 91.69 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 176.5 kB / 16.58 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6603/0.6603, allocations: 113.7 MB / 405.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 17.97 kB / 493.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004419/0.1526, allocations: 3.834 MB / 0.5606 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4582/0.6108, allocations: 136.9 MB / 0.6944 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.6113, allocations: 15.94 kB / 0.6944 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.6117, allocations: 134.9 kB / 0.6945 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.6128, allocations: 450.2 kB / 0.6949 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.6141, allocations: 0.629 MB / 0.6956 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.6151, allocations: 1.18 MB / 0.6967 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006063/0.6157, allocations: 485.7 kB / 0.6972 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.6161, allocations: 354.4 kB / 0.6975 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.6166, allocations: 397.9 kB / 0.6979 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.6167, allocations: 32 kB / 0.6979 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.6172, allocations: 339.7 kB / 0.6982 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.6174, allocations: 191.1 kB / 0.6984 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.6176, allocations: 205.1 kB / 0.6986 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.6187, allocations: 1.188 MB / 0.6998 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6187, allocations: 0 / 0.6998 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6187, allocations: 0 / 0.6998 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.6187, allocations: 0 / 0.6998 GB, free: 8.348 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002062/0.6208, allocations: 1.258 MB / 0.701 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.6208, allocations: 12.03 kB / 0.701 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.621, allocations: 139.5 kB / 0.7012 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.6218, allocations: 198.5 kB / 0.7013 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/0.6228, allocations: 0.7397 MB / 0.7021 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.6228, allocations: 69.95 kB / 0.7021 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.6229, allocations: 84 kB / 0.7022 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6244, allocations: 0.969 MB / 0.7032 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6245, allocations: 4 kB / 0.7032 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.6245, allocations: 36 kB / 0.7032 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.6246, allocations: 20 kB / 0.7032 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.6263, allocations: 1.159 MB / 0.7043 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.63, allocations: 2.709 MB / 0.707 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.6314, allocations: 0.8529 MB / 0.7078 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.6319, allocations: 326.6 kB / 0.7081 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-05/0.632, allocations: 40.58 kB / 0.7082 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008681/0.6329, allocations: 0.5321 MB / 0.7087 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=88): time 2.064e-06/0.6329, allocations: 0 / 0.7087 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88): time 0.00282/0.6357, allocations: 1.298 MB / 0.71 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6358, allocations: 188.9 kB / 0.7101 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.6366, allocations: 0.6527 MB / 0.7108 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.6367, allocations: 45.7 kB / 0.7108 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.637, allocations: 404.4 kB / 0.7112 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.6372, allocations: 283.9 kB / 0.7115 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.6373, allocations: 16 kB / 0.7115 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6374, allocations: 386.8 kB / 0.7119 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.6379, allocations: 277.8 kB / 0.7121 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.6385, allocations: 386.5 kB / 0.7125 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.6391, allocations: 318.9 kB / 0.7128 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6391, allocations: 0 / 0.7128 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001686/0.6408, allocations: 0.8683 MB / 0.7137 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6408, allocations: 8 kB / 0.7137 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6408, allocations: 64 / 0.7137 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.6414, allocations: 84.77 kB / 0.7137 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.642, allocations: 171.8 kB / 0.7139 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.6439, allocations: 1.52 MB / 0.7154 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.6445, allocations: 109.4 kB / 0.7155 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.6446, allocations: 35.97 kB / 0.7155 GB, free: 7.703 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.6449, allocations: 273.6 kB / 0.7158 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6451, allocations: 82.97 kB / 0.7159 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.6474, allocations: 1.179 MB / 0.717 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.6475, allocations: 12 kB / 0.717 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6475, allocations: 0 / 0.717 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.6475, allocations: 7.984 kB / 0.717 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.6485, allocations: 0.9355 MB / 0.718 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6485, allocations: 4 kB / 0.718 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.6491, allocations: 155.8 kB / 0.7181 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.6496, allocations: 96.69 kB / 0.7182 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.6496, allocations: 31.91 kB / 0.7182 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.6514, allocations: 1.548 MB / 0.7197 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6514, allocations: 0 / 0.7197 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.6532, allocations: 0.9942 MB / 0.7207 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.6536, allocations: 303.5 kB / 0.721 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6537, allocations: 23.94 kB / 0.721 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.6543, allocations: 88.94 kB / 0.7211 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.6545, allocations: 76.89 kB / 0.7212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/0.6545, allocations: 43.97 kB / 0.7212 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000567/0.6551, allocations: 475 kB / 0.7217 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6551, allocations: 3.938 kB / 0.7217 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008113/0.6559, allocations: 315.3 kB / 0.722 GB, free: 0.8398 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003351/0.6593, allocations: 2.052 MB / 0.724 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.6609, allocations: 0.8587 MB / 0.7248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6609, allocations: 0 / 0.7248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.6618, allocations: 0.547 MB / 0.7254 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6629, allocations: 260.4 kB / 0.7256 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.6729, allocations: 5.372 MB / 0.7308 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.6736, allocations: 1.036 MB / 0.7319 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009028/0.6745, allocations: 279 kB / 0.7321 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/0.6751, allocations: 411.3 kB / 0.7325 GB, free: 6.039 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.6751, allocations: 0 / 0.7325 GB, free: 6.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.7152, allocations: 22.17 MB / 0.7542 GB, free: 308 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.7156, allocations: 289.2 kB / 0.7544 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.027, allocations: 3.875 kB / 0.7544 GB, free: 15.94 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: