Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_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.001536/0.001536, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.795/0.795, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009254/0.0009254, allocations: 97.59 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.948e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5266, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.21/4.737, allocations: 1.695 GB / 2.329 GB, free: 41.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/4.737, allocations: 88.39 kB / 2.329 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5959/5.333, allocations: 83.2 MB / 2.411 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.655e-06/5.333, allocations: 0 / 2.411 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001207/5.333, allocations: 35.66 kB / 2.411 GB, free: 231.7 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.002982/5.336, allocations: 1.323 MB / 2.412 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/5.336, allocations: 11.72 kB / 2.412 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/5.338, allocations: 232.4 kB / 2.412 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/5.339, allocations: 0.7402 MB / 2.413 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/5.339, allocations: 89.77 kB / 2.413 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/5.339, allocations: 70.75 kB / 2.413 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001886/5.341, allocations: 1.267 MB / 2.414 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/5.343, allocations: 1.057 MB / 2.415 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/5.343, allocations: 0 / 2.415 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/5.343, allocations: 6 kB / 2.415 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/5.343, allocations: 28.84 kB / 2.415 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/5.348, allocations: 3.323 MB / 2.419 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/5.349, allocations: 0.8147 MB / 2.419 GB, free: 228 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/5.349, allocations: 321.4 kB / 2.42 GB, free: 228 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.649e-05/5.349, allocations: 43.31 kB / 2.42 GB, free: 228 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006635/5.35, allocations: 0.4894 MB / 2.42 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 2.274e-06/5.35, allocations: 3.438 kB / 2.42 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.001708/5.352, allocations: 0.8337 MB / 2.421 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/5.352, allocations: 243.1 kB / 2.421 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/5.352, allocations: 0.5794 MB / 2.422 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/5.353, allocations: 29.69 kB / 2.422 GB, free: 227 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/5.353, allocations: 0.5069 MB / 2.422 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/5.353, allocations: 297.2 kB / 2.423 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/5.353, allocations: 0 / 2.423 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001015/5.353, allocations: 391.3 kB / 2.423 GB, free: 226 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/5.354, allocations: 267.2 kB / 2.423 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/5.354, allocations: 394.5 kB / 2.424 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/5.354, allocations: 339.6 kB / 2.424 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.354, allocations: 0 / 2.424 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001583/5.356, allocations: 0.8768 MB / 2.425 GB, free: 225 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/5.356, allocations: 6.688 kB / 2.425 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/5.356, allocations: 1.969 kB / 2.425 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/5.357, allocations: 81.59 kB / 2.425 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/5.357, allocations: 191.2 kB / 2.425 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/5.359, allocations: 1.466 MB / 2.427 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/5.36, allocations: 75.41 kB / 2.427 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/5.36, allocations: 36.78 kB / 2.427 GB, free: 223.4 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.0001879/5.36, allocations: 119.4 kB / 2.427 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0016/5.362, allocations: 0.8383 MB / 2.428 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/5.362, allocations: 87.56 kB / 2.428 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/5.364, allocations: 1.193 MB / 2.429 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/5.364, allocations: 14.62 kB / 2.429 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/5.364, allocations: 6.281 kB / 2.429 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/5.364, allocations: 7.953 kB / 2.429 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/5.367, allocations: 2.202 MB / 2.431 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/5.367, allocations: 4 kB / 2.431 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/5.368, allocations: 180.3 kB / 2.431 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/5.368, allocations: 84.28 kB / 2.431 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/5.368, allocations: 19.97 kB / 2.431 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/5.37, allocations: 1.483 MB / 2.433 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.37, allocations: 8.016 kB / 2.433 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/5.371, allocations: 1.012 MB / 2.434 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/5.372, allocations: 342.1 kB / 2.434 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/5.372, allocations: 4 kB / 2.434 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/5.373, allocations: 61.2 kB / 2.434 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/5.373, allocations: 77.16 kB / 2.434 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/5.373, allocations: 38.17 kB / 2.434 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005293/5.373, allocations: 490.9 kB / 2.435 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/5.373, allocations: 4 kB / 2.435 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001186/5.375, allocations: 406.5 kB / 2.435 GB, free: 215.8 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.003208/5.378, allocations: 2.532 MB / 2.438 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001248/5.379, allocations: 0.842 MB / 2.438 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/5.379, allocations: 0 / 2.438 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/5.38, allocations: 0.5358 MB / 2.439 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/5.381, allocations: 223.3 kB / 2.439 GB, free: 212 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/5.385, allocations: 1.884 MB / 2.441 GB, free: 210 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/5.385, allocations: 1.143 MB / 2.442 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008079/5.386, allocations: 288 kB / 2.442 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/5.386, allocations: 495.2 kB / 2.443 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/5.386, allocations: 0 / 2.443 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/5.434, allocations: 27.61 MB / 2.47 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/5.434, allocations: 190.5 kB / 2.47 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/8.225, allocations: 0 / 2.47 GB, free: 180.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)