Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.007569/0.007568, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001705/0.001706, allocations: 198.4 kB / 16.68 MB, free: 5.953 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 291.4 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8694/0.8694, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002955/0.002956, allocations: 91.86 kB / 0.6809 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4513, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005954/0.4573, allocations: 4.282 MB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1494/0.6067, allocations: 150.5 MB / 0.9171 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.6075, allocations: 15.94 kB / 0.9171 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.6083, allocations: 170.4 kB / 0.9173 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.6103, allocations: 0.5024 MB / 0.9177 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.6123, allocations: 0.8332 MB / 0.9186 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.6137, allocations: 1.277 MB / 0.9198 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007897/0.6145, allocations: 0.6201 MB / 0.9204 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.6151, allocations: 474.4 kB / 0.9209 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.6155, allocations: 481.8 kB / 0.9213 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.6157, allocations: 119.9 kB / 0.9214 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.6165, allocations: 487.5 kB / 0.9219 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.6168, allocations: 287.1 kB / 0.9222 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.6173, allocations: 0.5324 MB / 0.9227 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.6189, allocations: 1.577 MB / 0.9242 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.619, allocations: 0 / 0.9242 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.786e-06/0.619, allocations: 4 kB / 0.9242 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.619, allocations: 3.938 kB / 0.9242 GB, free: 1.031 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002272/0.6213, allocations: 1.399 MB / 0.9256 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.6213, allocations: 8.031 kB / 0.9256 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.6215, allocations: 131.3 kB / 0.9257 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.6223, allocations: 187.4 kB / 0.9259 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.6233, allocations: 0.7615 MB / 0.9267 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.6234, allocations: 62 kB / 0.9267 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.6235, allocations: 80 kB / 0.9268 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.6248, allocations: 0.9066 MB / 0.9277 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6249, allocations: 0 / 0.9277 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.625, allocations: 32 kB / 0.9277 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.625, allocations: 20 kB / 0.9277 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.6266, allocations: 1.1 MB / 0.9288 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.63, allocations: 2.445 MB / 0.9312 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6314, allocations: 0.8636 MB / 0.932 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.6319, allocations: 294.7 kB / 0.9323 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.253e-05/0.632, allocations: 36.53 kB / 0.9324 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000777/0.6328, allocations: 487.2 kB / 0.9328 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 1.923e-06/0.6328, allocations: 0 / 0.9328 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.002788/0.6356, allocations: 1.17 MB / 0.934 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6357, allocations: 196.6 kB / 0.9342 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.6364, allocations: 0.6176 MB / 0.9348 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.6364, allocations: 41.7 kB / 0.9348 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.6367, allocations: 392.3 kB / 0.9352 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.6369, allocations: 256.3 kB / 0.9354 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.6371, allocations: 142.5 kB / 0.9355 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6373, allocations: 386.7 kB / 0.9359 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.6377, allocations: 249.9 kB / 0.9362 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.6382, allocations: 350.5 kB / 0.9365 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.6392, allocations: 0.5759 MB / 0.9371 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6392, allocations: 0 / 0.9371 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001631/0.6408, allocations: 0.7824 MB / 0.9378 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6409, allocations: 8 kB / 0.9378 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6409, allocations: 0 / 0.9378 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/0.6414, allocations: 88.8 kB / 0.9379 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.642, allocations: 147.8 kB / 0.9381 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.644, allocations: 1.624 MB / 0.9396 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.6445, allocations: 91.3 kB / 0.9397 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.6446, allocations: 31.98 kB / 0.9398 GB, free: 0.5898 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.0003317/0.6449, allocations: 261.6 kB / 0.94 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.6451, allocations: 79.25 kB / 0.9401 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.6472, allocations: 1.058 MB / 0.9411 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6472, allocations: 8 kB / 0.9411 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.6472, allocations: 0 / 0.9411 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.6472, allocations: 7.922 kB / 0.9411 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.65, allocations: 1.904 MB / 0.943 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.65, allocations: 4 kB / 0.943 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.6505, allocations: 147.8 kB / 0.9431 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.6509, allocations: 68.78 kB / 0.9432 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.651, allocations: 31.92 kB / 0.9432 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.6526, allocations: 1.658 MB / 0.9448 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6527, allocations: 0 / 0.9448 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.6544, allocations: 0.9824 MB / 0.9458 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.6547, allocations: 279.7 kB / 0.9461 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.6548, allocations: 16 kB / 0.9461 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.6554, allocations: 63.92 kB / 0.9461 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.6555, allocations: 64.91 kB / 0.9462 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.6556, allocations: 35.97 kB / 0.9462 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004898/0.6561, allocations: 455 kB / 0.9467 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6561, allocations: 0 / 0.9467 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007284/0.6568, allocations: 303.3 kB / 0.947 GB, free: 8.926 MB / 0.7169 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.00308/0.6599, allocations: 2.043 MB / 0.949 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.6613, allocations: 0.7844 MB / 0.9497 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6613, allocations: 0 / 0.9497 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008141/0.6622, allocations: 0.5122 MB / 0.9502 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.6632, allocations: 284.9 kB / 0.9505 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3394/1.003, allocations: 6.212 MB / 0.9566 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/1.003, allocations: 1.015 MB / 0.9576 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009773/1.004, allocations: 267 kB / 0.9578 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/1.005, allocations: 377.6 kB / 0.9582 GB, free: 186 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/1.005, allocations: 2.906 kB / 0.9582 GB, free: 186 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/1.05, allocations: 20.94 MB / 0.9786 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.68, allocations: 10.84 kB / 0.9786 GB, free: 173.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)