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.001009/0.001009, allocations: 100.1 kB / 15.88 MB, free: 12 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.001016/0.001016, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.18/1.18, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6137/0.6137, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 67.75 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1149, allocations: 76.18 MB / 0.5558 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006851/0.1218, allocations: 6.874 MB / 0.5625 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3381/0.46, allocations: 149 MB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.4611, allocations: 19.94 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009228/0.4621, allocations: 190.2 kB / 0.7082 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.4644, allocations: 0.6845 MB / 0.7089 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.4665, allocations: 0.863 MB / 0.7097 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.4687, allocations: 2.011 MB / 0.7117 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.4701, allocations: 0.9872 MB / 0.7127 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.4712, allocations: 0.7431 MB / 0.7134 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.4722, allocations: 0.842 MB / 0.7142 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.4726, allocations: 116 kB / 0.7143 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4736, allocations: 463.6 kB / 0.7148 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.474, allocations: 394.4 kB / 0.7151 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008181/0.4749, allocations: 0.8703 MB / 0.716 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.4769, allocations: 2.429 MB / 0.7184 GB, free: 412 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4769, allocations: 0 / 0.7184 GB, free: 412 kB / 0.5294 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4769, allocations: 4 kB / 0.7184 GB, free: 408 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.4769, allocations: 0 / 0.7184 GB, free: 408 kB / 0.5294 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.003582/0.4805, allocations: 2.062 MB / 0.7204 GB, free: 14.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4806, allocations: 12.03 kB / 0.7204 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.4808, allocations: 224 kB / 0.7206 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009488/0.4818, allocations: 254.5 kB / 0.7208 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.4829, allocations: 0.9773 MB / 0.7218 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.483, allocations: 119.1 kB / 0.7219 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.4832, allocations: 148 kB / 0.722 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.4855, allocations: 1.58 MB / 0.7236 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4855, allocations: 4 kB / 0.7236 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.4856, allocations: 67.92 kB / 0.7237 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.4857, allocations: 36 kB / 0.7237 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.488, allocations: 1.639 MB / 0.7253 GB, free: 9.117 MB / 0.545 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.005719/0.4938, allocations: 4.568 MB / 0.7298 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4956, allocations: 1.191 MB / 0.7309 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.4964, allocations: 475.7 kB / 0.7314 GB, free: 2.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.4965, allocations: 49.06 kB / 0.7314 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.4977, allocations: 0.7874 MB / 0.7322 GB, free: 1.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=128): time 2.365e-06/0.4977, allocations: 0 / 0.7322 GB, free: 1.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=128): time 0.003891/0.5016, allocations: 1.834 MB / 0.734 GB, free: 0 / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.5017, allocations: 197.2 kB / 0.7342 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.5026, allocations: 0.8693 MB / 0.735 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.833e-05/0.5027, allocations: 53.7 kB / 0.7351 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.5031, allocations: 0.6093 MB / 0.7357 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.5033, allocations: 410.1 kB / 0.7361 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.5036, allocations: 234.8 kB / 0.7363 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5038, allocations: 357.9 kB / 0.7366 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.5045, allocations: 426.4 kB / 0.737 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008599/0.5054, allocations: 0.5565 MB / 0.7376 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.5069, allocations: 0.9701 MB / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5069, allocations: 0 / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002472/0.5094, allocations: 1.297 MB / 0.7398 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5094, allocations: 4 kB / 0.7398 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5095, allocations: 8.094 kB / 0.7398 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.51, allocations: 76.78 kB / 0.7399 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.511, allocations: 263.7 kB / 0.7401 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.5128, allocations: 1.548 MB / 0.7416 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009294/0.5138, allocations: 158.7 kB / 0.7418 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/0.5139, allocations: 55.95 kB / 0.7418 GB, free: 7.66 MB / 0.5606 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.0004404/0.5143, allocations: 345.7 kB / 0.7422 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5145, allocations: 118.5 kB / 0.7423 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.5178, allocations: 1.719 MB / 0.744 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.5178, allocations: 12 kB / 0.744 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5178, allocations: 0 / 0.744 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5178, allocations: 7.969 kB / 0.744 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5192, allocations: 1.412 MB / 0.7454 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5192, allocations: 0 / 0.7454 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.52, allocations: 216.7 kB / 0.7456 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.5205, allocations: 88.72 kB / 0.7456 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.5206, allocations: 39.95 kB / 0.7457 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.5222, allocations: 1.556 MB / 0.7472 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5222, allocations: 7.938 kB / 0.7472 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.5247, allocations: 1.402 MB / 0.7486 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.5251, allocations: 375.2 kB / 0.7489 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.5253, allocations: 43.83 kB / 0.749 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008714/0.5261, allocations: 97.58 kB / 0.7491 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.5263, allocations: 117 kB / 0.7492 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.5264, allocations: 55.97 kB / 0.7492 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007107/0.5272, allocations: 0.6461 MB / 0.7499 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5272, allocations: 4 kB / 0.7499 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009186/0.5281, allocations: 494.6 kB / 0.7503 GB, free: 14.69 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.003796/0.5319, allocations: 2.472 MB / 0.7528 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.534, allocations: 1.232 MB / 0.754 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.534, allocations: 7.938 kB / 0.754 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5351, allocations: 0.7441 MB / 0.7547 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5363, allocations: 320.1 kB / 0.755 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.5511, allocations: 10.52 MB / 0.7653 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.5518, allocations: 1.236 MB / 0.7665 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001001/0.5528, allocations: 338.1 kB / 0.7668 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/0.5536, allocations: 0.6203 MB / 0.7674 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/0.5536, allocations: 0 / 0.7674 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6346/1.188, allocations: 29.62 MB / 0.7963 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/1.188, allocations: 294.2 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.773, allocations: 0 / 0.7966 GB, free: 15.39 MB / 0.6231 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)