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.7368/0.7368, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009551/0.0009551, allocations: 183.2 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.303/1.303, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0007643/0.0007643, allocations: 95.11 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 271.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.247e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3457, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.195/3.541, allocations: 1.693 GB / 2.458 GB, free: 49.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/3.541, allocations: 91.31 kB / 2.458 GB, free: 49.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5037/4.045, allocations: 84.09 MB / 2.54 GB, free: 235.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/4.045, allocations: 0 / 2.54 GB, free: 235.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.615e-05/4.045, allocations: 30.34 kB / 2.54 GB, free: 235.6 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.002079/4.047, allocations: 1.328 MB / 2.541 GB, free: 234.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/4.047, allocations: 10.28 kB / 2.541 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/4.047, allocations: 182 kB / 2.542 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/4.048, allocations: 229.4 kB / 2.542 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/4.049, allocations: 0.7529 MB / 2.543 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-05/4.049, allocations: 119.2 kB / 2.543 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/4.049, allocations: 120.2 kB / 2.543 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/4.051, allocations: 1.238 MB / 2.544 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/4.051, allocations: 0 / 2.544 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/4.051, allocations: 50.72 kB / 2.544 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/4.051, allocations: 31.19 kB / 2.544 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/4.053, allocations: 1.336 MB / 2.545 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/4.058, allocations: 3.554 MB / 2.549 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/4.059, allocations: 0.8723 MB / 2.55 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/4.059, allocations: 344.8 kB / 2.55 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/4.059, allocations: 42.05 kB / 2.55 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/4.06, allocations: 0.515 MB / 2.551 GB, free: 233 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.925e-06/4.06, allocations: 0 / 2.551 GB, free: 233 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.001795/4.062, allocations: 0.8839 MB / 2.551 GB, free: 232.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/4.062, allocations: 245.5 kB / 2.552 GB, free: 232.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/4.063, allocations: 0.7031 MB / 2.552 GB, free: 232.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/4.063, allocations: 46.73 kB / 2.552 GB, free: 232.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/4.063, allocations: 0.5015 MB / 2.553 GB, free: 232 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/4.063, allocations: 312.9 kB / 2.553 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/4.063, allocations: 17.47 kB / 2.553 GB, free: 231.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/4.063, allocations: 337.3 kB / 2.553 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/4.064, allocations: 284.3 kB / 2.554 GB, free: 231.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/4.064, allocations: 417.3 kB / 2.554 GB, free: 231.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/4.065, allocations: 350.9 kB / 2.554 GB, free: 231 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/4.065, allocations: 0 / 2.554 GB, free: 231 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001644/4.067, allocations: 0.9336 MB / 2.555 GB, free: 230.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/4.067, allocations: 6.219 kB / 2.555 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/4.067, allocations: 3.875 kB / 2.555 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/4.067, allocations: 84.64 kB / 2.555 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/4.068, allocations: 189.7 kB / 2.556 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/4.07, allocations: 1.531 MB / 2.557 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/4.07, allocations: 112.4 kB / 2.557 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/4.07, allocations: 35.34 kB / 2.557 GB, free: 228.9 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.0001703/4.071, allocations: 155.1 kB / 2.557 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/4.071, allocations: 99.95 kB / 2.558 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/4.073, allocations: 1.254 MB / 2.559 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/4.073, allocations: 16.59 kB / 2.559 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/4.073, allocations: 1.875 kB / 2.559 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/4.073, allocations: 3.984 kB / 2.559 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/4.076, allocations: 2.427 MB / 2.561 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/4.076, allocations: 0 / 2.561 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/4.077, allocations: 182.8 kB / 2.561 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/4.078, allocations: 85.69 kB / 2.561 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/4.078, allocations: 31.45 kB / 2.561 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/4.079, allocations: 1.547 MB / 2.563 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/4.079, allocations: 2.969 kB / 2.563 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/4.081, allocations: 1.072 MB / 2.564 GB, free: 224.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/4.081, allocations: 355.5 kB / 2.564 GB, free: 224 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/4.081, allocations: 24.16 kB / 2.564 GB, free: 224 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/4.082, allocations: 78.03 kB / 2.564 GB, free: 224 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/4.082, allocations: 75.8 kB / 2.565 GB, free: 223.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/4.082, allocations: 36.28 kB / 2.565 GB, free: 223.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006812/4.083, allocations: 0.5858 MB / 2.565 GB, free: 223.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/4.083, allocations: 0 / 2.565 GB, free: 223.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001337/4.084, allocations: 432.7 kB / 2.566 GB, free: 223.5 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.0039/4.088, allocations: 2.547 MB / 2.568 GB, free: 221.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001366/4.089, allocations: 0.8949 MB / 2.569 GB, free: 220.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/4.089, allocations: 0 / 2.569 GB, free: 220.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007155/4.09, allocations: 0.5537 MB / 2.569 GB, free: 219.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/4.091, allocations: 258.5 kB / 2.57 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/4.095, allocations: 1.977 MB / 2.572 GB, free: 217.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/4.096, allocations: 1.153 MB / 2.573 GB, free: 216.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008415/4.096, allocations: 290.4 kB / 2.573 GB, free: 216.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/4.097, allocations: 0.4914 MB / 2.573 GB, free: 215.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/4.097, allocations: 4 kB / 2.574 GB, free: 215.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/4.148, allocations: 36.06 MB / 2.609 GB, free: 180.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/4.148, allocations: 260.2 kB / 2.609 GB, free: 180 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/7.017, allocations: 3.938 kB / 2.609 GB, free: 180 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)