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.0009965/0.0009965, allocations: 100.4 kB / 16.26 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.001039/0.001039, 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.212/1.212, 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.678/0.678, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2642, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005987/0.2702, allocations: 6.899 MB / 0.574 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1301/0.4003, allocations: 151.3 MB / 0.7218 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.4016, allocations: 23.88 kB / 0.7218 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.4024, allocations: 261.4 kB / 0.722 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.4049, allocations: 0.797 MB / 0.7228 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.407, allocations: 0.9846 MB / 0.7238 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.4091, allocations: 2.14 MB / 0.7259 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.4103, allocations: 1.014 MB / 0.7268 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009419/0.4113, allocations: 0.837 MB / 0.7277 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008083/0.4121, allocations: 0.8947 MB / 0.7285 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.4123, allocations: 208 kB / 0.7287 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.4131, allocations: 0.5504 MB / 0.7293 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.4135, allocations: 490.4 kB / 0.7297 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006742/0.4142, allocations: 0.9486 MB / 0.7307 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.4161, allocations: 2.52 MB / 0.7331 GB, free: 368 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4161, allocations: 0 / 0.7331 GB, free: 368 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4161, allocations: 0 / 0.7331 GB, free: 368 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4161, allocations: 0 / 0.7331 GB, free: 368 kB / 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.003212/0.4193, allocations: 2.066 MB / 0.7351 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4194, allocations: 8.625 kB / 0.7352 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.4196, allocations: 220.1 kB / 0.7354 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/0.4205, allocations: 262.6 kB / 0.7356 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4216, allocations: 0.9691 MB / 0.7366 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.4217, allocations: 119.1 kB / 0.7367 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4219, allocations: 148 kB / 0.7368 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.424, allocations: 1.58 MB / 0.7384 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.424, allocations: 0 / 0.7384 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.4242, allocations: 64 kB / 0.7384 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.4242, allocations: 36 kB / 0.7385 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.4265, allocations: 1.643 MB / 0.7401 GB, free: 9.082 MB / 0.5762 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.005529/0.432, allocations: 4.575 MB / 0.7445 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.4338, allocations: 1.19 MB / 0.7457 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.4346, allocations: 479.7 kB / 0.7461 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-05/0.4347, allocations: 45.08 kB / 0.7462 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.4358, allocations: 0.786 MB / 0.747 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=128): time 2.274e-06/0.4358, allocations: 0 / 0.747 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=128): time 0.1835/0.6193, allocations: 1.842 MB / 0.7488 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.6194, allocations: 195.5 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.6206, allocations: 0.8667 MB / 0.7498 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.6208, allocations: 49.92 kB / 0.7498 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.6211, allocations: 0.6135 MB / 0.7504 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.6214, allocations: 408.8 kB / 0.7508 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.6217, allocations: 238.2 kB / 0.7511 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.6218, allocations: 352.3 kB / 0.7514 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.6225, allocations: 431.2 kB / 0.7518 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.6234, allocations: 0.567 MB / 0.7524 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.625, allocations: 0.9589 MB / 0.7533 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.625, allocations: 0.6562 kB / 0.7533 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002479/0.6275, allocations: 1.298 MB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6275, allocations: 5.312 kB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6275, allocations: 1.5 kB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.6281, allocations: 87.81 kB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.6292, allocations: 262.1 kB / 0.7549 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.6309, allocations: 1.644 MB / 0.7565 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.6318, allocations: 155.3 kB / 0.7567 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6319, allocations: 50.41 kB / 0.7567 GB, free: 166.4 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.0004153/0.6324, allocations: 347.3 kB / 0.757 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.6325, allocations: 120.7 kB / 0.7571 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.6358, allocations: 1.713 MB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6358, allocations: 13.62 kB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.6358, allocations: 1.703 kB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.6358, allocations: 7.938 kB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.6371, allocations: 1.41 MB / 0.7602 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6371, allocations: 0.5938 kB / 0.7602 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.638, allocations: 217 kB / 0.7604 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.6384, allocations: 73.17 kB / 0.7605 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.6384, allocations: 40.89 kB / 0.7605 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.6398, allocations: 1.674 MB / 0.7622 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6398, allocations: 0.5625 kB / 0.7622 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.6422, allocations: 1.411 MB / 0.7635 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.6426, allocations: 370.9 kB / 0.7639 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6428, allocations: 44.59 kB / 0.7639 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/0.6437, allocations: 87.86 kB / 0.764 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.6439, allocations: 112 kB / 0.7641 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.88e-05/0.644, allocations: 58.47 kB / 0.7642 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006803/0.6446, allocations: 0.6463 MB / 0.7648 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6446, allocations: 2.516 kB / 0.7648 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008919/0.6455, allocations: 484.5 kB / 0.7653 GB, free: 161.9 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.003543/0.6491, allocations: 2.476 MB / 0.7677 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003217/0.6523, allocations: 1.557 MB / 0.7692 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6523, allocations: 0 / 0.7692 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6534, allocations: 0.7392 MB / 0.7699 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.6545, allocations: 362.7 kB / 0.7703 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.6657, allocations: 9.876 MB / 0.7799 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.6662, allocations: 1.24 MB / 0.7811 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008316/0.667, allocations: 330.2 kB / 0.7815 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.6676, allocations: 0.6242 MB / 0.7821 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6676, allocations: 0 / 0.7821 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.117/1.785, allocations: 30.76 MB / 0.8121 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/15.53, allocations: 21.38 kB / 0.8121 GB, free: 121.4 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)