Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.00941/0.00941, 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.7889/0.7889, 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.679/1.679, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001054/0.001053, allocations: 89.17 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.549, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.975/5.524, allocations: 1.694 GB / 2.343 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004092/5.525, allocations: 93.08 kB / 2.343 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2107/5.735, allocations: 91.96 MB / 2.433 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.426e-06/5.735, allocations: 3.984 kB / 2.433 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001895/5.736, allocations: 40.62 kB / 2.433 GB, free: 162.5 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005113/5.741, allocations: 1.881 MB / 2.435 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/5.741, allocations: 12.03 kB / 2.435 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006122/5.741, allocations: 210.5 kB / 2.435 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/5.744, allocations: 369.4 kB / 2.435 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/5.746, allocations: 1.019 MB / 2.436 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/5.746, allocations: 102.7 kB / 2.436 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/5.747, allocations: 124 kB / 2.437 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/5.75, allocations: 1.531 MB / 2.438 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/5.75, allocations: 0 / 2.438 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/5.75, allocations: 59.95 kB / 2.438 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/5.75, allocations: 36 kB / 2.438 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/5.754, allocations: 2.055 MB / 2.44 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008267/5.762, allocations: 4.514 MB / 2.445 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/5.764, allocations: 1.459 MB / 2.446 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/5.765, allocations: 57.11 kB / 2.446 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/5.766, allocations: 0.796 MB / 2.447 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.048e-06/5.766, allocations: 3.938 kB / 2.447 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.005695/5.772, allocations: 2.149 MB / 2.449 GB, free: 146 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/5.772, allocations: 462.1 kB / 2.449 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/5.774, allocations: 1.07 MB / 2.45 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/5.774, allocations: 53.7 kB / 2.45 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/5.775, allocations: 0.6149 MB / 2.451 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/5.775, allocations: 445.5 kB / 2.451 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/5.775, allocations: 24 kB / 2.452 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/5.775, allocations: 353.9 kB / 2.452 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008679/5.776, allocations: 438.4 kB / 2.452 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/5.777, allocations: 0.6579 MB / 2.453 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/5.778, allocations: 0.5301 MB / 2.453 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/5.778, allocations: 0 / 2.453 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003769/5.782, allocations: 1.428 MB / 2.455 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/5.782, allocations: 4 kB / 2.455 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/5.782, allocations: 7.984 kB / 2.455 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/5.783, allocations: 169.8 kB / 2.455 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/5.784, allocations: 275.6 kB / 2.455 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/5.788, allocations: 3.092 MB / 2.458 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/5.79, allocations: 170.7 kB / 2.458 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/5.79, allocations: 51.97 kB / 2.458 GB, free: 135.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009806/5.791, allocations: 382.2 kB / 2.459 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/5.791, allocations: 146.2 kB / 2.459 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/5.796, allocations: 2.007 MB / 2.461 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/5.796, allocations: 16 kB / 2.461 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/5.796, allocations: 7.938 kB / 2.461 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/5.796, allocations: 7.969 kB / 2.461 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/5.798, allocations: 1.537 MB / 2.462 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/5.798, allocations: 0 / 2.462 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/5.799, allocations: 283.6 kB / 2.463 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/5.8, allocations: 173.5 kB / 2.463 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/5.801, allocations: 43.97 kB / 2.463 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/5.804, allocations: 3.147 MB / 2.466 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/5.804, allocations: 4.062 kB / 2.466 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/5.808, allocations: 1.653 MB / 2.468 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/5.809, allocations: 486.5 kB / 2.468 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/5.809, allocations: 32 kB / 2.468 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/5.81, allocations: 127.9 kB / 2.468 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/5.811, allocations: 121.8 kB / 2.468 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/5.811, allocations: 64.09 kB / 2.468 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001551/5.812, allocations: 0.8552 MB / 2.469 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/5.812, allocations: 0 / 2.469 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002216/5.815, allocations: 0.5495 MB / 2.47 GB, free: 123.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006049/5.821, allocations: 3.324 MB / 2.473 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002784/5.824, allocations: 1.451 MB / 2.474 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/5.824, allocations: 3.906 kB / 2.474 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/5.825, allocations: 0.9576 MB / 2.475 GB, free: 118 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/5.827, allocations: 471.9 kB / 2.476 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/5.845, allocations: 10.33 MB / 2.486 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009889/5.847, allocations: 1.325 MB / 2.487 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002274/5.849, allocations: 0.4996 MB / 2.488 GB, free: 105 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/5.85, allocations: 0.675 MB / 2.488 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.823e-06/5.85, allocations: 0 / 2.488 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08107/5.931, allocations: 47.05 MB / 2.534 GB, free: 57.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/5.931, allocations: 248.5 kB / 2.535 GB, free: 57.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/9.524, allocations: 0 / 2.535 GB, free: 57.37 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)