Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.208/1.208, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.054/3.054, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 94 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.584e-05/7.587e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.327, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.888/10.22, allocations: 1.696 GB / 2.337 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004426/10.22, allocations: 87.95 kB / 2.337 GB, free: 238.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2954/10.51, allocations: 84.11 MB / 2.419 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.647e-06/10.51, allocations: 0 / 2.419 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001882/10.51, allocations: 28 kB / 2.419 GB, free: 154.2 MB / 0.6823 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.005285/10.52, allocations: 1.318 MB / 2.42 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001009/10.52, allocations: 12.03 kB / 2.42 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003807/10.52, allocations: 185.8 kB / 2.42 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/10.52, allocations: 238 kB / 2.421 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/10.52, allocations: 0.7405 MB / 2.421 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/10.52, allocations: 128.2 kB / 2.421 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/10.52, allocations: 120 kB / 2.422 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/10.53, allocations: 1.223 MB / 2.423 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/10.53, allocations: 0 / 2.423 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/10.53, allocations: 52 kB / 2.423 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/10.53, allocations: 35.95 kB / 2.423 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/10.53, allocations: 1.333 MB / 2.424 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/10.54, allocations: 3.559 MB / 2.428 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/10.54, allocations: 0.8783 MB / 2.428 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/10.54, allocations: 347.1 kB / 2.429 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/10.54, allocations: 44.69 kB / 2.429 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/10.54, allocations: 0.509 MB / 2.429 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 8.035e-06/10.54, allocations: 4 kB / 2.429 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.00362/10.55, allocations: 0.8865 MB / 2.43 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/10.55, allocations: 240.1 kB / 2.43 GB, free: 142 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/10.55, allocations: 0.7113 MB / 2.431 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/10.55, allocations: 41.7 kB / 2.431 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/10.55, allocations: 0.496 MB / 2.432 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/10.55, allocations: 315.5 kB / 2.432 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/10.55, allocations: 12 kB / 2.432 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001702/10.55, allocations: 341.9 kB / 2.432 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/10.55, allocations: 285.9 kB / 2.433 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/10.55, allocations: 412.4 kB / 2.433 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/10.56, allocations: 352.8 kB / 2.433 GB, free: 139 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/10.56, allocations: 0 / 2.433 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003391/10.56, allocations: 0.9306 MB / 2.434 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/10.56, allocations: 4 kB / 2.434 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/10.56, allocations: 4.094 kB / 2.434 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/10.56, allocations: 84.77 kB / 2.434 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/10.56, allocations: 191.8 kB / 2.434 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/10.57, allocations: 1.533 MB / 2.436 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/10.57, allocations: 111.1 kB / 2.436 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/10.57, allocations: 39.97 kB / 2.436 GB, free: 136 MB / 0.6823 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.0005167/10.57, allocations: 146.4 kB / 2.436 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005345/10.57, allocations: 98.78 kB / 2.436 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/10.57, allocations: 1.266 MB / 2.438 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/10.57, allocations: 8 kB / 2.438 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/10.57, allocations: 4 kB / 2.438 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/10.57, allocations: 7.922 kB / 2.438 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/10.58, allocations: 2.427 MB / 2.44 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/10.58, allocations: 7.922 kB / 2.44 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/10.58, allocations: 179.8 kB / 2.44 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008472/10.58, allocations: 76.78 kB / 2.44 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/10.58, allocations: 35.98 kB / 2.44 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/10.59, allocations: 1.559 MB / 2.442 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/10.59, allocations: 3.953 kB / 2.442 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/10.59, allocations: 1.07 MB / 2.443 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/10.59, allocations: 351.3 kB / 2.443 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007092/10.59, allocations: 20 kB / 2.443 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/10.6, allocations: 75.94 kB / 2.443 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/10.6, allocations: 72.89 kB / 2.443 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/10.6, allocations: 43.97 kB / 2.443 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002448/10.6, allocations: 0.5812 MB / 2.444 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/10.6, allocations: 0 / 2.444 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003472/10.6, allocations: 438.7 kB / 2.444 GB, free: 127.3 MB / 0.6823 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.009054/10.61, allocations: 2.544 MB / 2.447 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003997/10.62, allocations: 0.8821 MB / 2.448 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/10.62, allocations: 4.188 kB / 2.448 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/10.62, allocations: 0.5627 MB / 2.448 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/10.62, allocations: 252.9 kB / 2.448 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/10.63, allocations: 1.977 MB / 2.45 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/10.64, allocations: 1.146 MB / 2.452 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002734/10.64, allocations: 287.6 kB / 2.452 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/10.64, allocations: 499.2 kB / 2.452 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.304e-06/10.64, allocations: 0 / 2.452 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/10.76, allocations: 36.01 MB / 2.487 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/10.76, allocations: 238.6 kB / 2.488 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.792/16.55, allocations: 0 / 2.488 GB, free: 83.04 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)