Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001052/0.001052, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001597/0.001597, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.277/1.277, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7398/0.7398, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2956, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005378/0.301, allocations: 4.993 MB / 0.5722 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.4402, allocations: 150.7 MB / 0.7194 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009547/0.4412, allocations: 15.94 kB / 0.7194 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.442, allocations: 202.1 kB / 0.7196 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.4445, allocations: 0.5584 MB / 0.7201 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.4471, allocations: 0.8804 MB / 0.721 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.4487, allocations: 1.46 MB / 0.7224 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008712/0.4496, allocations: 0.5985 MB / 0.723 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.4503, allocations: 0.5099 MB / 0.7235 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006825/0.451, allocations: 0.5368 MB / 0.724 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.4512, allocations: 120 kB / 0.7241 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/0.4521, allocations: 487.6 kB / 0.7246 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.4524, allocations: 315 kB / 0.7249 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.4529, allocations: 0.5947 MB / 0.7255 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.4545, allocations: 1.679 MB / 0.7271 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4545, allocations: 3.938 kB / 0.7271 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4545, allocations: 0 / 0.7271 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4546, allocations: 0 / 0.7271 GB, free: 6.566 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002329/0.4569, allocations: 1.51 MB / 0.7286 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4569, allocations: 8.625 kB / 0.7286 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.4571, allocations: 143.8 kB / 0.7287 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/0.458, allocations: 187.3 kB / 0.7289 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.4589, allocations: 0.7699 MB / 0.7297 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.4589, allocations: 66 kB / 0.7297 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.459, allocations: 92 kB / 0.7298 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4605, allocations: 0.9769 MB / 0.7308 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4605, allocations: 3.938 kB / 0.7308 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.4606, allocations: 39.98 kB / 0.7308 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4606, allocations: 20 kB / 0.7308 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.4623, allocations: 1.159 MB / 0.732 GB, free: 1.457 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.003818/0.4661, allocations: 2.908 MB / 0.7348 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.4681, allocations: 0.9887 MB / 0.7358 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.4686, allocations: 333.9 kB / 0.7361 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/0.4687, allocations: 34.67 kB / 0.7361 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008235/0.4695, allocations: 0.5237 MB / 0.7366 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 1.964e-06/0.4696, allocations: 0 / 0.7366 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003111/0.4727, allocations: 1.302 MB / 0.7379 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.4728, allocations: 192.9 kB / 0.7381 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.4735, allocations: 0.6528 MB / 0.7387 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.4735, allocations: 45.64 kB / 0.7388 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.4738, allocations: 408.5 kB / 0.7392 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.474, allocations: 279.9 kB / 0.7394 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.4742, allocations: 166.5 kB / 0.7396 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4744, allocations: 386.8 kB / 0.74 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.4749, allocations: 277.8 kB / 0.7402 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.4755, allocations: 382.5 kB / 0.7406 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.4766, allocations: 0.6359 MB / 0.7412 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4766, allocations: 0 / 0.7412 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001835/0.4784, allocations: 0.8643 MB / 0.742 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4785, allocations: 8 kB / 0.7421 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4785, allocations: 8.031 kB / 0.7421 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.479, allocations: 84.75 kB / 0.7421 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.4798, allocations: 171.8 kB / 0.7423 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.4817, allocations: 1.629 MB / 0.7439 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.4824, allocations: 95.31 kB / 0.744 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.4824, allocations: 31.98 kB / 0.744 GB, free: 4.648 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003425/0.4828, allocations: 284.2 kB / 0.7443 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.483, allocations: 86.88 kB / 0.7444 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.4855, allocations: 1.195 MB / 0.7455 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4855, allocations: 12 kB / 0.7456 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4855, allocations: 4 kB / 0.7456 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.4856, allocations: 7.969 kB / 0.7456 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.4888, allocations: 2.102 MB / 0.7476 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4889, allocations: 0 / 0.7476 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.4895, allocations: 163.8 kB / 0.7478 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.4899, allocations: 76.78 kB / 0.7478 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.49, allocations: 27.97 kB / 0.7479 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2037/0.6937, allocations: 1.656 MB / 0.7495 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6937, allocations: 1.406 kB / 0.7495 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.6961, allocations: 1.091 MB / 0.7506 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.6965, allocations: 290 kB / 0.7508 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6967, allocations: 24.06 kB / 0.7509 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.6974, allocations: 69.69 kB / 0.7509 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6976, allocations: 85.77 kB / 0.751 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.6977, allocations: 44.69 kB / 0.751 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006562/0.6983, allocations: 471.9 kB / 0.7515 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.92e-07/0.6983, allocations: 0.6562 kB / 0.7515 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009591/0.6993, allocations: 348.8 kB / 0.7518 GB, free: 169.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 (106): * Single equations (assignments): 99 * 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.003507/0.7028, allocations: 2.154 MB / 0.7539 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002721/0.7055, allocations: 1.105 MB / 0.755 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7056, allocations: 1.031 kB / 0.755 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7066, allocations: 0.5645 MB / 0.7556 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7079, allocations: 314.2 kB / 0.7559 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.7175, allocations: 6.804 MB / 0.7625 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.718, allocations: 1.043 MB / 0.7635 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009447/0.719, allocations: 279.7 kB / 0.7638 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.7195, allocations: 411.8 kB / 0.7642 GB, free: 163 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.7195, allocations: 0 / 0.7642 GB, free: 163 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.7633, allocations: 22.67 MB / 0.7863 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.83, allocations: 13.83 kB / 0.7863 GB, free: 147.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)