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.0008565/0.0008565, allocations: 98.42 kB / 16.02 MB, free: 80 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.0008978/0.0008978, allocations: 180.2 kB / 16.92 MB, free: 6.922 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.201/1.201, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6358/0.6358, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 9.375 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006131/0.1252, allocations: 6.404 MB / 0.5663 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3579/0.4831, allocations: 147.4 MB / 0.7102 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.4843, allocations: 15.94 kB / 0.7102 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.4852, allocations: 206.4 kB / 0.7104 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.4877, allocations: 0.6826 MB / 0.7111 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.4897, allocations: 0.8654 MB / 0.7119 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.492, allocations: 2.008 MB / 0.7139 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.4933, allocations: 0.9603 MB / 0.7148 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.4942, allocations: 0.5831 MB / 0.7154 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.4949, allocations: 0.6527 MB / 0.716 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.843e-05/0.495, allocations: 40 kB / 0.7161 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.4957, allocations: 391.6 kB / 0.7164 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.496, allocations: 282.5 kB / 0.7167 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.4966, allocations: 0.7549 MB / 0.7174 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.4984, allocations: 2.339 MB / 0.7197 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4984, allocations: 0 / 0.7197 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4984, allocations: 0 / 0.7197 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4984, allocations: 0 / 0.7197 GB, free: 2.926 MB / 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.003121/0.5016, allocations: 1.724 MB / 0.7214 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5016, allocations: 11.97 kB / 0.7214 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/0.5019, allocations: 224 kB / 0.7216 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.5028, allocations: 266.6 kB / 0.7219 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.504, allocations: 0.9734 MB / 0.7228 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/0.5041, allocations: 119.6 kB / 0.7229 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.5043, allocations: 151.8 kB / 0.7231 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.5067, allocations: 1.58 MB / 0.7246 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.5067, allocations: 0 / 0.7246 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.5069, allocations: 67.94 kB / 0.7247 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.5069, allocations: 43.98 kB / 0.7247 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.5094, allocations: 1.647 MB / 0.7263 GB, free: 11.95 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.006143/0.5155, allocations: 4.61 MB / 0.7308 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.5175, allocations: 1.202 MB / 0.732 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/0.5183, allocations: 482.1 kB / 0.7325 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/0.5184, allocations: 49.06 kB / 0.7325 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.5196, allocations: 0.79 MB / 0.7333 GB, free: 4.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=128): time 2.264e-06/0.5197, allocations: 0 / 0.7333 GB, free: 4.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=128): time 0.004017/0.5237, allocations: 1.857 MB / 0.7351 GB, free: 2.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.5238, allocations: 197.2 kB / 0.7353 GB, free: 2.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.5248, allocations: 0.8655 MB / 0.7361 GB, free: 1.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.5249, allocations: 53.7 kB / 0.7362 GB, free: 1.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.5253, allocations: 0.6131 MB / 0.7368 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.5256, allocations: 410.1 kB / 0.7372 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5258, allocations: 97.66 kB / 0.7373 GB, free: 448 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5259, allocations: 345.9 kB / 0.7376 GB, free: 96 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000773/0.5267, allocations: 438.4 kB / 0.738 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.5276, allocations: 0.5643 MB / 0.7386 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.5292, allocations: 0.974 MB / 0.7395 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5292, allocations: 0 / 0.7395 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002465/0.5317, allocations: 1.305 MB / 0.7408 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5317, allocations: 4 kB / 0.7408 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5317, allocations: 4 kB / 0.7408 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.5323, allocations: 84.84 kB / 0.7409 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.5333, allocations: 259.6 kB / 0.7411 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.5352, allocations: 1.541 MB / 0.7426 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.5362, allocations: 173.2 kB / 0.7428 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.5363, allocations: 51.95 kB / 0.7429 GB, free: 10.52 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.0005428/0.5369, allocations: 353.7 kB / 0.7432 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.537, allocations: 122.4 kB / 0.7433 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.5405, allocations: 1.721 MB / 0.745 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5405, allocations: 16 kB / 0.745 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5405, allocations: 0 / 0.745 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.5405, allocations: 7.969 kB / 0.745 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.542, allocations: 1.412 MB / 0.7464 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.542, allocations: 8 kB / 0.7464 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/0.5428, allocations: 215.7 kB / 0.7466 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005047/0.5434, allocations: 88.72 kB / 0.7467 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.5434, allocations: 43.95 kB / 0.7467 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.5451, allocations: 1.555 MB / 0.7483 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5451, allocations: 4 kB / 0.7483 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.5476, allocations: 1.414 MB / 0.7496 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/0.5481, allocations: 406.9 kB / 0.75 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.5483, allocations: 36.05 kB / 0.7501 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/0.5492, allocations: 115.9 kB / 0.7502 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5494, allocations: 117 kB / 0.7503 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.5495, allocations: 55.97 kB / 0.7503 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007492/0.5503, allocations: 0.6464 MB / 0.751 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5503, allocations: 0 / 0.751 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009564/0.5513, allocations: 486.6 kB / 0.7514 GB, free: 1.477 MB / 0.5606 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.003891/0.5552, allocations: 2.489 MB / 0.7539 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.5573, allocations: 1.244 MB / 0.7551 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5573, allocations: 0 / 0.7551 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.5585, allocations: 0.7557 MB / 0.7558 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5598, allocations: 311.5 kB / 0.7561 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.575, allocations: 10.58 MB / 0.7664 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.5757, allocations: 1.232 MB / 0.7677 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009785/0.5767, allocations: 338.2 kB / 0.768 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/0.5775, allocations: 0.6203 MB / 0.7686 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5775, allocations: 0 / 0.7686 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6491/1.227, allocations: 29.21 MB / 0.7971 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.227, allocations: 301.9 kB / 0.7974 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.734, allocations: 0 / 0.7974 GB, free: 2.523 MB / 0.6075 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)