Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001167/0.001167, allocations: 104.3 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 190.9 kB / 17.19 MB, free: 5.629 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.164/1.164, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6756/0.6756, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2706, allocations: 77.91 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005062/0.2757, allocations: 4.903 MB / 0.5721 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1355/0.4112, allocations: 150.6 MB / 0.7192 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.4121, allocations: 15.94 kB / 0.7192 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.4126, allocations: 198.1 kB / 0.7194 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.414, allocations: 0.5529 MB / 0.7199 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.4158, allocations: 0.8477 MB / 0.7208 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.4168, allocations: 1.413 MB / 0.7221 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.4175, allocations: 0.587 MB / 0.7227 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.418, allocations: 0.4983 MB / 0.7232 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.4184, allocations: 0.5173 MB / 0.7237 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.4186, allocations: 116 kB / 0.7238 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000641/0.4192, allocations: 463.6 kB / 0.7243 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.4195, allocations: 307 kB / 0.7245 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.4199, allocations: 0.5752 MB / 0.7251 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.4212, allocations: 1.62 MB / 0.7267 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4213, allocations: 0 / 0.7267 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4213, allocations: 0 / 0.7267 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.4213, allocations: 0 / 0.7267 GB, free: 7.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002183/0.4235, allocations: 1.467 MB / 0.7281 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4235, allocations: 8.625 kB / 0.7281 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.4237, allocations: 143.5 kB / 0.7283 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.4245, allocations: 187.3 kB / 0.7284 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.4254, allocations: 0.7506 MB / 0.7292 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.4254, allocations: 66 kB / 0.7292 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.4255, allocations: 87.98 kB / 0.7293 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.4269, allocations: 0.9417 MB / 0.7302 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.4269, allocations: 0 / 0.7302 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.427, allocations: 36 kB / 0.7303 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.427, allocations: 20 kB / 0.7303 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.4286, allocations: 1.132 MB / 0.7314 GB, free: 2.047 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.4321, allocations: 2.755 MB / 0.7341 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4336, allocations: 0.9109 MB / 0.735 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.4341, allocations: 314.7 kB / 0.7353 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.4342, allocations: 28.69 kB / 0.7353 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/0.435, allocations: 0.512 MB / 0.7358 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.903e-06/0.435, allocations: 4 kB / 0.7358 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003059/0.4381, allocations: 1.251 MB / 0.737 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.4382, allocations: 196.9 kB / 0.7372 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.4389, allocations: 0.6411 MB / 0.7379 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.4389, allocations: 41.7 kB / 0.7379 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.4392, allocations: 400.4 kB / 0.7383 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.4394, allocations: 276.1 kB / 0.7385 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.4396, allocations: 150.5 kB / 0.7387 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4398, allocations: 390.8 kB / 0.7391 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.4403, allocations: 253.9 kB / 0.7393 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.4409, allocations: 366.5 kB / 0.7396 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.4419, allocations: 0.6047 MB / 0.7402 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.442, allocations: 3.984 kB / 0.7402 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001771/0.4437, allocations: 0.8292 MB / 0.741 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4438, allocations: 10.12 kB / 0.7411 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4438, allocations: 4.094 kB / 0.7411 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.4444, allocations: 80.77 kB / 0.7411 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.445, allocations: 167.8 kB / 0.7413 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.447, allocations: 1.624 MB / 0.7429 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.4476, allocations: 99.31 kB / 0.743 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.4477, allocations: 27.98 kB / 0.743 GB, free: 5.699 MB / 0.5762 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003606/0.4481, allocations: 273.4 kB / 0.7433 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.4482, allocations: 86.97 kB / 0.7433 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.4507, allocations: 1.14 MB / 0.7445 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4507, allocations: 12 kB / 0.7445 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.4507, allocations: 3.938 kB / 0.7445 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.4507, allocations: 3.984 kB / 0.7445 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.4537, allocations: 2.021 MB / 0.7465 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4538, allocations: 0 / 0.7465 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.4543, allocations: 159.8 kB / 0.7466 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.4548, allocations: 72.78 kB / 0.7467 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.4548, allocations: 23.98 kB / 0.7467 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.4566, allocations: 1.662 MB / 0.7483 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4566, allocations: 4.062 kB / 0.7483 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2042/0.6608, allocations: 1.037 MB / 0.7493 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.6612, allocations: 282.4 kB / 0.7496 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.6613, allocations: 22.8 kB / 0.7496 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.662, allocations: 67.89 kB / 0.7497 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6622, allocations: 78.7 kB / 0.7498 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.6623, allocations: 39.23 kB / 0.7498 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005595/0.6629, allocations: 466.7 kB / 0.7503 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6629, allocations: 1.188 kB / 0.7503 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008178/0.6637, allocations: 331.2 kB / 0.7506 GB, free: 170.4 MB / 0.5762 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003364/0.6671, allocations: 2.103 MB / 0.7526 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002455/0.6695, allocations: 1.045 MB / 0.7536 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6695, allocations: 5 kB / 0.7536 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.6705, allocations: 0.546 MB / 0.7542 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.6718, allocations: 303.4 kB / 0.7545 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.6808, allocations: 6.621 MB / 0.7609 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.6813, allocations: 1.034 MB / 0.7619 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008063/0.6821, allocations: 269.3 kB / 0.7622 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.6825, allocations: 407.3 kB / 0.7626 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.6825, allocations: 0 / 0.7626 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.237/3.92, allocations: 21.98 MB / 0.7841 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/19.26, allocations: 8.234 kB / 0.7841 GB, free: 150.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)