Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_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.00118/0.00118, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001191/0.001191, allocations: 196.1 kB / 16.91 MB, free: 6.195 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.159/1.159, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.626/0.626, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2654, allocations: 76.16 MB / 0.556 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005724/0.2712, allocations: 6.87 MB / 0.5627 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1239/0.3951, allocations: 149.1 MB / 0.7083 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3964, allocations: 19.94 kB / 0.7083 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.3973, allocations: 194.4 kB / 0.7085 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.3998, allocations: 0.7008 MB / 0.7092 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.402, allocations: 0.8895 MB / 0.71 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002212/0.4042, allocations: 2.133 MB / 0.7121 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.4054, allocations: 1.022 MB / 0.7131 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009966/0.4064, allocations: 0.8369 MB / 0.7139 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.4072, allocations: 0.9064 MB / 0.7148 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.4074, allocations: 212 kB / 0.715 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.4082, allocations: 0.5387 MB / 0.7156 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.4085, allocations: 486.4 kB / 0.716 GB, free: 200 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.4091, allocations: 0.9565 MB / 0.717 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.411, allocations: 2.516 MB / 0.7194 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.411, allocations: 0 / 0.7194 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.411, allocations: 0 / 0.7194 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.411, allocations: 3.938 kB / 0.7194 GB, free: 12.71 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003272/0.4143, allocations: 2.069 MB / 0.7214 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.4143, allocations: 8.031 kB / 0.7214 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.4146, allocations: 220.1 kB / 0.7217 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.4154, allocations: 266.5 kB / 0.7219 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4165, allocations: 0.9731 MB / 0.7229 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.4166, allocations: 115.1 kB / 0.723 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.4168, allocations: 148 kB / 0.7231 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.419, allocations: 1.584 MB / 0.7247 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.4191, allocations: 0 / 0.7247 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.4192, allocations: 64 kB / 0.7247 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.4192, allocations: 40 kB / 0.7248 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.4215, allocations: 1.647 MB / 0.7264 GB, free: 5.41 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.005516/0.427, allocations: 4.563 MB / 0.7308 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.4288, allocations: 1.189 MB / 0.732 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/0.4295, allocations: 477.5 kB / 0.7324 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.309e-05/0.4296, allocations: 48.92 kB / 0.7325 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.4308, allocations: 0.7821 MB / 0.7332 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=128): time 2.284e-06/0.4308, allocations: 0 / 0.7332 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=128): time 0.00381/0.4346, allocations: 1.846 MB / 0.735 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.4347, allocations: 197.2 kB / 0.7352 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.4356, allocations: 0.8654 MB / 0.7361 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/0.4357, allocations: 53.7 kB / 0.7361 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.436, allocations: 0.6093 MB / 0.7367 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.4363, allocations: 414 kB / 0.7371 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.4366, allocations: 234.8 kB / 0.7373 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4367, allocations: 353.9 kB / 0.7377 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/0.4374, allocations: 430.4 kB / 0.7381 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.4383, allocations: 0.5565 MB / 0.7386 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.4397, allocations: 0.9662 MB / 0.7396 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4398, allocations: 0 / 0.7396 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0024/0.4422, allocations: 1.293 MB / 0.7408 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4422, allocations: 4 kB / 0.7408 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.4422, allocations: 7.984 kB / 0.7409 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.4428, allocations: 80.84 kB / 0.7409 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.4438, allocations: 259.6 kB / 0.7412 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.4458, allocations: 1.657 MB / 0.7428 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/0.4467, allocations: 154.9 kB / 0.7429 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.4468, allocations: 55.89 kB / 0.743 GB, free: 3.832 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0004239/0.4473, allocations: 353.2 kB / 0.7433 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.4475, allocations: 122.5 kB / 0.7435 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.4507, allocations: 1.706 MB / 0.7451 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4507, allocations: 20 kB / 0.7451 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4508, allocations: 0 / 0.7451 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4508, allocations: 7.969 kB / 0.7451 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.452, allocations: 1.408 MB / 0.7465 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.452, allocations: 0 / 0.7465 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1871/0.6392, allocations: 214.7 kB / 0.7467 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.6397, allocations: 74.61 kB / 0.7468 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.64, allocations: 40.98 kB / 0.7468 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.6416, allocations: 1.67 MB / 0.7485 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6416, allocations: 4.516 kB / 0.7485 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.6444, allocations: 1.41 MB / 0.7498 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.6449, allocations: 374 kB / 0.7502 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.6451, allocations: 35.42 kB / 0.7502 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/0.646, allocations: 97.05 kB / 0.7503 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.6463, allocations: 110.4 kB / 0.7504 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6464, allocations: 56.69 kB / 0.7505 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007981/0.6472, allocations: 0.6505 MB / 0.7511 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6472, allocations: 0 / 0.7511 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001015/0.6482, allocations: 494.2 kB / 0.7516 GB, free: 170.7 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003816/0.6521, allocations: 2.483 MB / 0.754 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003562/0.6556, allocations: 1.559 MB / 0.7555 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6556, allocations: 1.875 kB / 0.7555 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.6568, allocations: 0.7412 MB / 0.7563 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.658, allocations: 354.5 kB / 0.7566 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.6725, allocations: 10.54 MB / 0.7669 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.6733, allocations: 1.24 MB / 0.7681 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001059/0.6743, allocations: 334.8 kB / 0.7684 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/0.6751, allocations: 0.6277 MB / 0.769 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6751, allocations: 3.938 kB / 0.769 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3883/1.063, allocations: 30.5 MB / 0.7988 GB, free: 142 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/1.064, allocations: 298.6 kB / 0.7991 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.897, allocations: 5.906 kB / 0.7991 GB, free: 141.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)