Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001194/0.001194, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4947/0.4947, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 102.5 kB / 421.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.199e-05, allocations: 4 kB / 0.4897 GB, free: 5.238 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4531, allocations: 72.31 MB / 0.5603 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5769, allocations: 101.8 MB / 0.6597 GB, free: 2.492 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5771, allocations: 86.86 kB / 0.6598 GB, free: 2.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001908/0.5791, allocations: 0.7458 MB / 0.6605 GB, free: 1.676 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5791, allocations: 0 / 0.6605 GB, free: 1.676 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.5791, allocations: 0 / 0.6605 GB, free: 1.676 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002581/0.5794, allocations: 318.8 kB / 0.6608 GB, free: 1.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5794, allocations: 15.98 kB / 0.6608 GB, free: 1.305 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.5795, allocations: 30.56 kB / 0.6609 GB, free: 1.266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.5795, allocations: 11.84 kB / 0.6609 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5796, allocations: 170.9 kB / 0.661 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5797, allocations: 8.469 kB / 0.6611 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.5797, allocations: 0 / 0.6611 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.5798, allocations: 36.33 kB / 0.6611 GB, free: 1.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5798, allocations: 0 / 0.6611 GB, free: 1.004 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5798, allocations: 3.938 kB / 0.6611 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5798, allocations: 0 / 0.6611 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.5798, allocations: 11.95 kB / 0.6611 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.5801, allocations: 244.9 kB / 0.6613 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.5802, allocations: 26.58 kB / 0.6614 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.5802, allocations: 8.922 kB / 0.6614 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.5803, allocations: 0 / 0.6614 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5803, allocations: 34.61 kB / 0.6614 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.5803, allocations: 4 kB / 0.6614 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001109/0.5804, allocations: 41.64 kB / 0.6614 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5805, allocations: 59.34 kB / 0.6615 GB, free: 500 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.5805, allocations: 93 kB / 0.6616 GB, free: 400 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5806, allocations: 25.7 kB / 0.6616 GB, free: 368 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.5806, allocations: 80.14 kB / 0.6617 GB, free: 284 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.5806, allocations: 7.906 kB / 0.6617 GB, free: 276 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.5806, allocations: 0 / 0.6617 GB, free: 276 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5808, allocations: 318.8 kB / 0.662 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.5808, allocations: 4.031 kB / 0.662 GB, free: 15.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-06/0.5808, allocations: 4 kB / 0.662 GB, free: 15.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.64e-05/0.5808, allocations: 4 kB / 0.662 GB, free: 15.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5808, allocations: 0 / 0.662 GB, free: 15.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.488e-05/0.5809, allocations: 33.7 kB / 0.6621 GB, free: 15.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5809, allocations: 8 kB / 0.6621 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5809, allocations: 0 / 0.6621 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.581, allocations: 0 / 0.6621 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.581, allocations: 19.97 kB / 0.6621 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.581, allocations: 4 kB / 0.6621 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.581, allocations: 0 / 0.6621 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-06/0.5811, allocations: 0 / 0.6621 GB, free: 15.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.5811, allocations: 101 kB / 0.6622 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.5812, allocations: 11.91 kB / 0.6622 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.5812, allocations: 3.125 kB / 0.6622 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5812, allocations: 0 / 0.6622 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5812, allocations: 3.953 kB / 0.6622 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5812, allocations: 0.9375 kB / 0.6622 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.5814, allocations: 157.7 kB / 0.6623 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5814, allocations: 3.938 kB / 0.6624 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.5814, allocations: 4 kB / 0.6624 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5814, allocations: 0 / 0.6624 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.5814, allocations: 3.984 kB / 0.6624 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5814, allocations: 0 / 0.6624 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5814, allocations: 0 / 0.6624 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.5816, allocations: 143.5 kB / 0.6625 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.5816, allocations: 77.3 kB / 0.6626 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.5816, allocations: 5.109 kB / 0.6626 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.5817, allocations: 3.984 kB / 0.6626 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.5817, allocations: 4 kB / 0.6626 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5817, allocations: 0 / 0.6626 GB, free: 15.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.5818, allocations: 83.28 kB / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5818, allocations: 0 / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.582, allocations: 3.953 kB / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003755/0.5824, allocations: 0.6657 MB / 0.6633 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.5825, allocations: 15.94 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5825, allocations: 0 / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.5825, allocations: 4 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.5826, allocations: 5.547 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.5829, allocations: 98.73 kB / 0.6634 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5832, allocations: 0.677 MB / 0.6641 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.667e-05/0.5832, allocations: 3.906 kB / 0.6641 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.5832, allocations: 7.438 kB / 0.6641 GB, free: 13.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.305e-06/0.5833, allocations: 0 / 0.6641 GB, free: 13.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.5949, allocations: 0.8624 MB / 0.6649 GB, free: 12.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.5952, allocations: 176.3 kB / 0.6651 GB, free: 12.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.042, allocations: 3.75 kB / 0.6651 GB, free: 12.72 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)