Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001464/0.001464, allocations: 112.5 kB / 15.73 MB, free: 76 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.001477/0.001477, allocations: 189.7 kB / 16.67 MB, free: 6.582 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 278.8 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 92.22 kB / 0.6809 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.173, allocations: 86.97 MB / 0.7659 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006601/0.1797, allocations: 4.318 MB / 0.7701 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4996/0.6793, allocations: 150.6 MB / 0.9171 GB, free: 8.121 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/0.6803, allocations: 19.88 kB / 0.9171 GB, free: 8.102 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.681, allocations: 172.5 kB / 0.9173 GB, free: 7.934 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.6829, allocations: 0.4907 MB / 0.9178 GB, free: 7.457 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.6852, allocations: 0.8326 MB / 0.9186 GB, free: 6.652 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.6869, allocations: 1.302 MB / 0.9198 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/0.6879, allocations: 0.6317 MB / 0.9205 GB, free: 4.695 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.6886, allocations: 474.3 kB / 0.9209 GB, free: 4.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006379/0.6893, allocations: 497.8 kB / 0.9214 GB, free: 3.742 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.6894, allocations: 116 kB / 0.9215 GB, free: 3.629 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.6904, allocations: 491.6 kB / 0.922 GB, free: 3.148 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.6907, allocations: 299.1 kB / 0.9223 GB, free: 2.855 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.6913, allocations: 0.5412 MB / 0.9228 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.6933, allocations: 1.628 MB / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.6933, allocations: 0 / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6933, allocations: 0 / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.6933, allocations: 0 / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002599/0.696, allocations: 1.448 MB / 0.9258 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.696, allocations: 8.031 kB / 0.9258 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.6962, allocations: 131.4 kB / 0.9259 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.6971, allocations: 192.1 kB / 0.9261 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.6983, allocations: 0.7702 MB / 0.9269 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.6984, allocations: 65.75 kB / 0.9269 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6985, allocations: 80 kB / 0.927 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.7002, allocations: 0.9223 MB / 0.9279 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.7002, allocations: 0 / 0.9279 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.7003, allocations: 40 kB / 0.9279 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.7003, allocations: 20 kB / 0.928 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.7022, allocations: 1.108 MB / 0.929 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.7061, allocations: 2.507 MB / 0.9315 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.7077, allocations: 0.8877 MB / 0.9323 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.7083, allocations: 310.6 kB / 0.9326 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.7084, allocations: 40.58 kB / 0.9327 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.7093, allocations: 492.8 kB / 0.9332 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 2.043e-06/0.7093, allocations: 0 / 0.9332 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.003206/0.7125, allocations: 1.198 MB / 0.9343 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.7126, allocations: 192.6 kB / 0.9345 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.7134, allocations: 0.6215 MB / 0.9351 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.7135, allocations: 41.69 kB / 0.9352 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.7139, allocations: 405 kB / 0.9355 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.7141, allocations: 261.8 kB / 0.9358 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.7144, allocations: 142.6 kB / 0.9359 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.7146, allocations: 394.7 kB / 0.9363 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.7151, allocations: 245.9 kB / 0.9365 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.7157, allocations: 358.5 kB / 0.9369 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.7168, allocations: 0.5838 MB / 0.9374 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7168, allocations: 0 / 0.9374 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001925/0.7187, allocations: 0.7946 MB / 0.9382 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7188, allocations: 11.98 kB / 0.9382 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7188, allocations: 4.094 kB / 0.9382 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.7194, allocations: 76.78 kB / 0.9383 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.72, allocations: 163.7 kB / 0.9385 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.7222, allocations: 1.634 MB / 0.9401 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.7229, allocations: 94.06 kB / 0.9402 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.723, allocations: 27.98 kB / 0.9402 GB, free: 15.95 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004387/0.7234, allocations: 277.3 kB / 0.9404 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.7236, allocations: 83.48 kB / 0.9405 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.726, allocations: 1.062 MB / 0.9416 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7261, allocations: 15.98 kB / 0.9416 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7261, allocations: 3.938 kB / 0.9416 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.7261, allocations: 3.984 kB / 0.9416 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.7294, allocations: 1.955 MB / 0.9435 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7295, allocations: 0 / 0.9435 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.73, allocations: 147.8 kB / 0.9436 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.7305, allocations: 68.8 kB / 0.9437 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.7306, allocations: 27.97 kB / 0.9437 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.7327, allocations: 1.674 MB / 0.9454 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.7327, allocations: 3.984 kB / 0.9454 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.7348, allocations: 0.9984 MB / 0.9463 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.7352, allocations: 280.2 kB / 0.9466 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.7353, allocations: 16 kB / 0.9466 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.7359, allocations: 63.92 kB / 0.9467 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.7361, allocations: 72.91 kB / 0.9468 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.7362, allocations: 35.98 kB / 0.9468 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005896/0.7368, allocations: 455 kB / 0.9472 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7368, allocations: 2.812 kB / 0.9472 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009572/0.7377, allocations: 311.1 kB / 0.9475 GB, free: 8.176 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004179/0.7419, allocations: 2.038 MB / 0.9495 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.7437, allocations: 0.7974 MB / 0.9503 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7437, allocations: 192 / 0.9503 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000964/0.7447, allocations: 0.5236 MB / 0.9508 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.7461, allocations: 300.9 kB / 0.9511 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.7573, allocations: 6.318 MB / 0.9573 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.758, allocations: 1.019 MB / 0.9583 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007892/0.7588, allocations: 262.5 kB / 0.9585 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.7593, allocations: 367.3 kB / 0.9589 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.7593, allocations: 0 / 0.9589 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/0.8158, allocations: 21.15 MB / 0.9795 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.68, allocations: 6.938 kB / 0.9795 GB, free: 7.777 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)