Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9189/0.9189, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 171.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008601, allocations: 96.02 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 277.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.85e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4611, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.122/4.584, allocations: 1.693 GB / 2.45 GB, free: 93.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/4.584, allocations: 87.95 kB / 2.45 GB, free: 93.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1762/4.76, allocations: 83.21 MB / 2.532 GB, free: 9.613 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/4.76, allocations: 0 / 2.532 GB, free: 9.613 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.433e-05/4.76, allocations: 31.94 kB / 2.532 GB, free: 9.582 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002219/4.762, allocations: 1.318 MB / 2.533 GB, free: 8.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/4.763, allocations: 16.02 kB / 2.533 GB, free: 8.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/4.763, allocations: 226 kB / 2.533 GB, free: 7.973 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/4.764, allocations: 0.7522 MB / 2.534 GB, free: 7.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/4.765, allocations: 80.19 kB / 2.534 GB, free: 7.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/4.765, allocations: 68 kB / 2.534 GB, free: 7.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001616/4.766, allocations: 1.273 MB / 2.535 GB, free: 5.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/4.768, allocations: 1.062 MB / 2.536 GB, free: 4.625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/4.768, allocations: 0 / 2.536 GB, free: 4.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/4.768, allocations: 4 kB / 2.536 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/4.768, allocations: 28 kB / 2.536 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/4.773, allocations: 3.318 MB / 2.54 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/4.774, allocations: 0.8203 MB / 2.54 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/4.774, allocations: 319.2 kB / 2.541 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-05/4.774, allocations: 45.72 kB / 2.541 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4957/5.27, allocations: 494.2 kB / 2.541 GB, free: 230.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 4.809e-06/5.27, allocations: 0 / 2.541 GB, free: 230.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.002315/5.272, allocations: 0.8308 MB / 2.542 GB, free: 230.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/5.272, allocations: 245.3 kB / 2.542 GB, free: 230.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/5.273, allocations: 0.5732 MB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/5.273, allocations: 27.27 kB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/5.274, allocations: 0.5197 MB / 2.543 GB, free: 230 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/5.274, allocations: 296.2 kB / 2.544 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/5.274, allocations: 0 / 2.544 GB, free: 229.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/5.274, allocations: 389.8 kB / 2.544 GB, free: 229.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/5.275, allocations: 268.3 kB / 2.544 GB, free: 229.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/5.275, allocations: 394 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/5.276, allocations: 338.4 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/5.276, allocations: 3.906 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001953/5.278, allocations: 0.8679 MB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/5.278, allocations: 8.984 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/5.278, allocations: 1.156 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/5.279, allocations: 90.55 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/5.28, allocations: 185 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/5.281, allocations: 1.468 MB / 2.548 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/5.282, allocations: 72.22 kB / 2.548 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/5.282, allocations: 37.53 kB / 2.548 GB, free: 228 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002073/5.282, allocations: 119.7 kB / 2.548 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00191/5.284, allocations: 0.8368 MB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/5.285, allocations: 91.02 kB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/5.287, allocations: 1.186 MB / 2.55 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/5.287, allocations: 7.969 kB / 2.55 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/5.287, allocations: 0.7969 kB / 2.55 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/5.287, allocations: 13.2 kB / 2.55 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/5.292, allocations: 2.204 MB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/5.292, allocations: 2.75 kB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/5.293, allocations: 183.1 kB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005447/5.293, allocations: 81.02 kB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/5.293, allocations: 17.81 kB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/5.295, allocations: 1.495 MB / 2.554 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/5.295, allocations: 0 / 2.554 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/5.297, allocations: 1.021 MB / 2.555 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/5.297, allocations: 339 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/5.298, allocations: 2.438 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/5.298, allocations: 56.08 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/5.298, allocations: 76.86 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/5.298, allocations: 42.64 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005701/5.299, allocations: 483 kB / 2.556 GB, free: 225.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.112e-06/5.299, allocations: 0 / 2.556 GB, free: 225.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001261/5.3, allocations: 418.8 kB / 2.556 GB, free: 225.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003407/5.304, allocations: 2.548 MB / 2.559 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001343/5.305, allocations: 0.8369 MB / 2.559 GB, free: 224.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/5.305, allocations: 2.75 kB / 2.559 GB, free: 224.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006976/5.306, allocations: 0.5247 MB / 2.56 GB, free: 224.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/5.307, allocations: 228 kB / 2.56 GB, free: 224.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/5.311, allocations: 1.885 MB / 2.562 GB, free: 224.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/5.312, allocations: 1.142 MB / 2.563 GB, free: 223.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001/5.313, allocations: 292.8 kB / 2.563 GB, free: 223.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/5.313, allocations: 493.7 kB / 2.564 GB, free: 223.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.004e-06/5.313, allocations: 0 / 2.564 GB, free: 223.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0532/5.367, allocations: 27.63 MB / 2.591 GB, free: 221.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/5.367, allocations: 215 kB / 2.591 GB, free: 221.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/8.206, allocations: 0 / 2.591 GB, free: 221.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)