Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.7347/0.7347, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009891/0.000989, allocations: 183.4 kB / 187.3 MB, free: 11.89 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.38/1.38, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009512/0.0009513, allocations: 94.91 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 273 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.833e-05, allocations: 8 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4471, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.787/4.234, allocations: 1.693 GB / 2.457 GB, free: 50.26 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/4.234, allocations: 87.81 kB / 2.457 GB, free: 50.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5433/4.778, allocations: 94.36 MB / 2.549 GB, free: 232.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/4.778, allocations: 0 / 2.549 GB, free: 232.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.272e-05/4.778, allocations: 34.66 kB / 2.549 GB, free: 232.4 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002086/4.78, allocations: 1.409 MB / 2.551 GB, free: 231.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/4.78, allocations: 7.688 kB / 2.551 GB, free: 231.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/4.78, allocations: 207.8 kB / 2.551 GB, free: 231.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008559/4.781, allocations: 246.7 kB / 2.551 GB, free: 231.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/4.782, allocations: 0.7747 MB / 2.552 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/4.782, allocations: 108.9 kB / 2.552 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/4.782, allocations: 138.6 kB / 2.552 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/4.784, allocations: 1.373 MB / 2.553 GB, free: 230.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/4.784, allocations: 0 / 2.553 GB, free: 230.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/4.784, allocations: 64.16 kB / 2.553 GB, free: 230.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/4.784, allocations: 33.72 kB / 2.553 GB, free: 230.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/4.786, allocations: 1.463 MB / 2.555 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/4.791, allocations: 3.815 MB / 2.559 GB, free: 228.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/4.792, allocations: 0.9252 MB / 2.559 GB, free: 228.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/4.793, allocations: 374.1 kB / 2.56 GB, free: 228.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.452e-05/4.793, allocations: 48.38 kB / 2.56 GB, free: 228.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000757/4.794, allocations: 0.5561 MB / 2.56 GB, free: 228.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 2.555e-06/4.794, allocations: 0 / 2.56 GB, free: 228.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.00183/4.795, allocations: 0.9611 MB / 2.561 GB, free: 227.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/4.796, allocations: 251.1 kB / 2.562 GB, free: 227.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/4.796, allocations: 0.7248 MB / 2.562 GB, free: 227.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/4.796, allocations: 42.95 kB / 2.562 GB, free: 227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/4.797, allocations: 0.5655 MB / 2.563 GB, free: 226.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/4.797, allocations: 341.8 kB / 2.563 GB, free: 226.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/4.797, allocations: 16.31 kB / 2.563 GB, free: 226.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.092e-05/4.797, allocations: 346.5 kB / 2.564 GB, free: 225.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/4.797, allocations: 315.6 kB / 2.564 GB, free: 225.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/4.798, allocations: 444.4 kB / 2.564 GB, free: 225.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/4.799, allocations: 387.9 kB / 2.565 GB, free: 225.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/4.799, allocations: 0 / 2.565 GB, free: 225.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001772/4.8, allocations: 1.016 MB / 2.566 GB, free: 224.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/4.8, allocations: 8 kB / 2.566 GB, free: 224.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/4.8, allocations: 0 / 2.566 GB, free: 224.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/4.801, allocations: 86.08 kB / 2.566 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/4.802, allocations: 213.5 kB / 2.566 GB, free: 223.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/4.803, allocations: 1.534 MB / 2.567 GB, free: 222.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/4.804, allocations: 116.5 kB / 2.568 GB, free: 222.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/4.804, allocations: 51.45 kB / 2.568 GB, free: 222.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (116): * Single equations (assignments): 115 * 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.0001952/4.804, allocations: 155.8 kB / 2.568 GB, free: 222 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/4.805, allocations: 102.8 kB / 2.568 GB, free: 221.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/4.807, allocations: 1.368 MB / 2.569 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/4.807, allocations: 8 kB / 2.569 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/4.807, allocations: 7.938 kB / 2.569 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/4.807, allocations: 3.984 kB / 2.569 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/4.81, allocations: 2.576 MB / 2.572 GB, free: 217.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/4.81, allocations: 0 / 2.572 GB, free: 217.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/4.811, allocations: 195.8 kB / 2.572 GB, free: 217.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/4.812, allocations: 87.83 kB / 2.572 GB, free: 217.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/4.812, allocations: 27.98 kB / 2.572 GB, free: 217.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/4.813, allocations: 1.554 MB / 2.574 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/4.813, allocations: 0 / 2.574 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/4.815, allocations: 1.128 MB / 2.575 GB, free: 214.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/4.816, allocations: 367.1 kB / 2.575 GB, free: 214.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/4.816, allocations: 20 kB / 2.575 GB, free: 214.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/4.816, allocations: 75.02 kB / 2.575 GB, free: 214.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/4.817, allocations: 76.88 kB / 2.575 GB, free: 214.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/4.817, allocations: 35.98 kB / 2.575 GB, free: 214.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006699/4.817, allocations: 0.6161 MB / 2.576 GB, free: 213.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/4.817, allocations: 0 / 2.576 GB, free: 213.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001308/4.819, allocations: 472.7 kB / 2.576 GB, free: 213.2 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 (115): * Single equations (assignments): 112 * 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.003556/4.822, allocations: 2.611 MB / 2.579 GB, free: 210.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001527/4.824, allocations: 0.9572 MB / 2.58 GB, free: 210 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/4.824, allocations: 4 kB / 2.58 GB, free: 210 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007595/4.824, allocations: 0.5851 MB / 2.58 GB, free: 209.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/4.826, allocations: 257.1 kB / 2.581 GB, free: 209.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/4.83, allocations: 2.117 MB / 2.583 GB, free: 207 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/4.831, allocations: 1.202 MB / 2.584 GB, free: 205.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009305/4.832, allocations: 301.6 kB / 2.584 GB, free: 205.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/4.832, allocations: 0.5383 MB / 2.585 GB, free: 204.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/4.832, allocations: 0 / 2.585 GB, free: 204.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/4.884, allocations: 37.35 MB / 2.621 GB, free: 168.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/4.884, allocations: 251.2 kB / 2.621 GB, free: 167.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/7.91, allocations: 0 / 2.621 GB, free: 167.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)