Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 114.3 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 191.7 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8677/0.8677, allocations: 129.2 MB / 432.5 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.88 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.437, allocations: 83.43 MB / 0.6801 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006531/0.4435, allocations: 5.65 MB / 0.6857 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1962/0.6397, allocations: 151.3 MB / 0.8335 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.6415, allocations: 27.81 kB / 0.8335 GB, free: 488 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.643, allocations: 361.3 kB / 0.8338 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.6462, allocations: 0.5703 MB / 0.8344 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.6494, allocations: 0.8685 MB / 0.8352 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.6524, allocations: 1.546 MB / 0.8367 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.6536, allocations: 0.5216 MB / 0.8373 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.6548, allocations: 0.5409 MB / 0.8378 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/0.6557, allocations: 0.5676 MB / 0.8383 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.6559, allocations: 132 kB / 0.8385 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.6572, allocations: 0.4957 MB / 0.8389 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.6576, allocations: 334.8 kB / 0.8393 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007558/0.6584, allocations: 0.6644 MB / 0.8399 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.6613, allocations: 1.929 MB / 0.8418 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6613, allocations: 4 kB / 0.8418 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6613, allocations: 0 / 0.8418 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.6613, allocations: 0 / 0.8418 GB, free: 7.902 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003513/0.6648, allocations: 1.731 MB / 0.8435 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.6649, allocations: 12.03 kB / 0.8435 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.6651, allocations: 156.4 kB / 0.8437 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009794/0.666, allocations: 227.8 kB / 0.8439 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.6677, allocations: 0.9185 MB / 0.8448 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.6678, allocations: 74 kB / 0.8448 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.6679, allocations: 96 kB / 0.8449 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.6697, allocations: 1.032 MB / 0.8459 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.6698, allocations: 0 / 0.8459 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.6698, allocations: 40 kB / 0.846 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.6699, allocations: 27.94 kB / 0.846 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6718, allocations: 1.171 MB / 0.8471 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.6768, allocations: 3.064 MB / 0.8501 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.6784, allocations: 0.7542 MB / 0.8509 GB, free: 14.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.6789, allocations: 274.6 kB / 0.8511 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.679, allocations: 32.58 kB / 0.8512 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00089/0.6799, allocations: 487.2 kB / 0.8516 GB, free: 13.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.6799, allocations: 4 kB / 0.8516 GB, free: 13.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=78): time 0.003229/0.6831, allocations: 1.215 MB / 0.8528 GB, free: 12.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6832, allocations: 192.6 kB / 0.853 GB, free: 12.06 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.6844, allocations: 0.7968 MB / 0.8538 GB, free: 11.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.6845, allocations: 49.64 kB / 0.8538 GB, free: 11.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.685, allocations: 0.5087 MB / 0.8543 GB, free: 10.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.6852, allocations: 277.6 kB / 0.8546 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.6854, allocations: 138.6 kB / 0.8547 GB, free: 10.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6856, allocations: 341.9 kB / 0.855 GB, free: 9.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.6861, allocations: 241.9 kB / 0.8553 GB, free: 9.676 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.6868, allocations: 358.5 kB / 0.8556 GB, free: 9.297 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.6878, allocations: 0.5799 MB / 0.8562 GB, free: 8.707 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6878, allocations: 0 / 0.8562 GB, free: 8.707 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001967/0.6898, allocations: 0.8217 MB / 0.857 GB, free: 7.871 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6898, allocations: 4 kB / 0.857 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6898, allocations: 4 kB / 0.857 GB, free: 7.863 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.6905, allocations: 84.81 kB / 0.8571 GB, free: 7.777 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.6911, allocations: 147.7 kB / 0.8572 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.6935, allocations: 1.644 MB / 0.8588 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.6942, allocations: 83.58 kB / 0.8589 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.6943, allocations: 35.97 kB / 0.8589 GB, free: 5.727 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005245/0.6948, allocations: 290.5 kB / 0.8592 GB, free: 5.434 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.695, allocations: 107.3 kB / 0.8593 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.6974, allocations: 1.072 MB / 0.8604 GB, free: 4.246 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.6974, allocations: 11.94 kB / 0.8604 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6974, allocations: 0 / 0.8604 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6974, allocations: 7.969 kB / 0.8604 GB, free: 4.227 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.6988, allocations: 1.009 MB / 0.8614 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6988, allocations: 0 / 0.8614 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.6994, allocations: 139.8 kB / 0.8615 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.6998, allocations: 68.78 kB / 0.8616 GB, free: 2.961 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.6999, allocations: 27.98 kB / 0.8616 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.702, allocations: 1.682 MB / 0.8632 GB, free: 1.105 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.702, allocations: 0 / 0.8632 GB, free: 1.105 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.704, allocations: 0.9556 MB / 0.8642 GB, free: 132 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3599/1.064, allocations: 287.9 kB / 0.8644 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.064, allocations: 19.86 kB / 0.8645 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/1.065, allocations: 60.47 kB / 0.8645 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.065, allocations: 70.55 kB / 0.8646 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/1.065, allocations: 35.17 kB / 0.8646 GB, free: 175.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008592/1.066, allocations: 0.562 MB / 0.8652 GB, free: 175.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.066, allocations: 2.625 kB / 0.8652 GB, free: 175.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009554/1.067, allocations: 348.2 kB / 0.8655 GB, free: 175.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004096/1.071, allocations: 2 MB / 0.8675 GB, free: 174.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00184/1.073, allocations: 0.768 MB / 0.8682 GB, free: 174.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.073, allocations: 0.8125 kB / 0.8682 GB, free: 174.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009871/1.074, allocations: 0.4889 MB / 0.8687 GB, free: 174.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.076, allocations: 465.1 kB / 0.8691 GB, free: 174.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.088, allocations: 6.998 MB / 0.876 GB, free: 170.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/1.089, allocations: 1.097 MB / 0.877 GB, free: 170.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001018/1.09, allocations: 285.8 kB / 0.8773 GB, free: 170 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/1.091, allocations: 470.2 kB / 0.8778 GB, free: 169.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.192e-06/1.091, allocations: 0 / 0.8778 GB, free: 169.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/1.152, allocations: 25.91 MB / 0.9031 GB, free: 152.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15, allocations: 19.48 kB / 0.9031 GB, free: 152.6 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.68122840858996] Failed to read output from testmodel.py, exit status != 0: 15.210728032048792 15.228528427 14.563560809 Calling exit ...