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.006096/0.006096, allocations: 173.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7374/0.7374, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001144/0.001144, allocations: 104.8 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4169, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.09/4.507, allocations: 1.696 GB / 2.346 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/4.508, allocations: 91.95 kB / 2.346 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7388/5.247, allocations: 84.4 MB / 2.428 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.557e-06/5.247, allocations: 3.938 kB / 2.428 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001387/5.247, allocations: 35.94 kB / 2.428 GB, free: 214.4 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.003999/5.251, allocations: 1.458 MB / 2.43 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/5.251, allocations: 12.02 kB / 2.43 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004935/5.252, allocations: 181.9 kB / 2.43 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/5.253, allocations: 230.1 kB / 2.43 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/5.254, allocations: 0.7482 MB / 2.431 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/5.254, allocations: 120.2 kB / 2.431 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/5.254, allocations: 120 kB / 2.431 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/5.256, allocations: 1.27 MB / 2.432 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/5.256, allocations: 3.938 kB / 2.432 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/5.256, allocations: 52 kB / 2.432 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/5.257, allocations: 32 kB / 2.432 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/5.258, allocations: 1.391 MB / 2.434 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005236/5.264, allocations: 3.568 MB / 2.437 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/5.265, allocations: 0.9038 MB / 2.438 GB, free: 204 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/5.265, allocations: 44.92 kB / 2.438 GB, free: 204 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008748/5.266, allocations: 0.5524 MB / 2.439 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 3.156e-06/5.266, allocations: 0 / 2.439 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.003314/5.269, allocations: 1.396 MB / 2.44 GB, free: 202 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/5.269, allocations: 244.3 kB / 2.44 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/5.27, allocations: 0.7071 MB / 2.441 GB, free: 201 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.449e-05/5.271, allocations: 45.7 kB / 2.441 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/5.271, allocations: 0.5 MB / 2.441 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/5.271, allocations: 307.5 kB / 2.442 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/5.271, allocations: 16 kB / 2.442 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/5.271, allocations: 341.9 kB / 2.442 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/5.272, allocations: 309.8 kB / 2.442 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/5.272, allocations: 440.2 kB / 2.443 GB, free: 199 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/5.273, allocations: 366.9 kB / 2.443 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.273, allocations: 4 kB / 2.443 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001966/5.275, allocations: 0.9813 MB / 2.444 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/5.275, allocations: 5.25 kB / 2.444 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/5.275, allocations: 7.984 kB / 2.444 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/5.276, allocations: 88.77 kB / 2.444 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/5.277, allocations: 187.7 kB / 2.444 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/5.278, allocations: 1.549 MB / 2.446 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/5.279, allocations: 107 kB / 2.446 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/5.28, allocations: 40.03 kB / 2.446 GB, free: 195.5 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 () * Number of clocked 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.0009168/5.28, allocations: 301.6 kB / 2.446 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/5.281, allocations: 94.78 kB / 2.446 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/5.283, allocations: 1.306 MB / 2.448 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/5.283, allocations: 8 kB / 2.448 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/5.283, allocations: 0 / 2.448 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/5.283, allocations: 11.97 kB / 2.448 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/5.287, allocations: 2.482 MB / 2.45 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/5.287, allocations: 0 / 2.45 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/5.288, allocations: 179.7 kB / 2.45 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/5.289, allocations: 88.77 kB / 2.45 GB, free: 191 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/5.289, allocations: 23.98 kB / 2.45 GB, free: 191 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/5.29, allocations: 1.571 MB / 2.452 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/5.29, allocations: 0 / 2.452 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/5.292, allocations: 1.117 MB / 2.453 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/5.293, allocations: 355.3 kB / 2.453 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/5.293, allocations: 16 kB / 2.453 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/5.294, allocations: 79.94 kB / 2.453 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/5.294, allocations: 72.89 kB / 2.454 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/5.294, allocations: 36.27 kB / 2.454 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008289/5.295, allocations: 0.5966 MB / 2.454 GB, free: 187 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.295, allocations: 0 / 2.454 GB, free: 187 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001452/5.296, allocations: 442.7 kB / 2.455 GB, free: 186.5 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) * Number of clocked states: 0 () * 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.004413/5.301, allocations: 2.644 MB / 2.457 GB, free: 184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001881/5.303, allocations: 0.9328 MB / 2.458 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/5.303, allocations: 4 kB / 2.458 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/5.303, allocations: 0.5785 MB / 2.459 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/5.305, allocations: 258.6 kB / 2.459 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/5.31, allocations: 3.88 MB / 2.463 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/5.311, allocations: 1.15 MB / 2.464 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009833/5.312, allocations: 291.6 kB / 2.464 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/5.313, allocations: 499.2 kB / 2.465 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/5.313, allocations: 3.938 kB / 2.465 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/5.373, allocations: 33.83 MB / 2.498 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/5.374, allocations: 279.1 kB / 2.498 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/8.789, allocations: 0 / 2.498 GB, free: 142.5 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)