Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 210.6 kB / 23.03 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8461/0.8461, allocations: 134 MB / 447.2 MB, free: 9.945 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 65.8 kB / 0.6192 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1642, allocations: 85.92 MB / 0.7031 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007232/0.1714, allocations: 4.439 MB / 0.7075 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4862/0.6576, allocations: 132.7 MB / 0.8371 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.659, allocations: 35.88 kB / 0.8371 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.6602, allocations: 343.6 kB / 0.8374 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.6623, allocations: 0.528 MB / 0.838 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.6645, allocations: 0.8405 MB / 0.8388 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.6663, allocations: 1.361 MB / 0.8401 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6673, allocations: 0.564 MB / 0.8407 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.6681, allocations: 0.5059 MB / 0.8412 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.6688, allocations: 0.5131 MB / 0.8417 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.6691, allocations: 124 kB / 0.8418 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.6701, allocations: 0.5052 MB / 0.8423 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.6705, allocations: 306.9 kB / 0.8426 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.6711, allocations: 485.3 kB / 0.843 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.6737, allocations: 1.827 MB / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6737, allocations: 0 / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6737, allocations: 0 / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.232e-05/0.6738, allocations: 4 kB / 0.8448 GB, free: 2.273 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003141/0.6769, allocations: 1.571 MB / 0.8463 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.677, allocations: 8.031 kB / 0.8464 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.831e-05/0.677, allocations: 26.19 kB / 0.8464 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.6772, allocations: 144.1 kB / 0.8465 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.6788, allocations: 263.8 kB / 0.8468 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.6804, allocations: 0.8094 MB / 0.8476 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.6804, allocations: 70 kB / 0.8476 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6806, allocations: 92 kB / 0.8477 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.6825, allocations: 1.212 MB / 0.8489 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.6825, allocations: 7.984 kB / 0.8489 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.6826, allocations: 40 kB / 0.8489 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.6826, allocations: 28 kB / 0.849 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.6846, allocations: 1.124 MB / 0.8501 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.6891, allocations: 2.383 MB / 0.8524 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6904, allocations: 0.6575 MB / 0.853 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.6909, allocations: 254.6 kB / 0.8533 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.691, allocations: 24.62 kB / 0.8533 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008989/0.6919, allocations: 0.5021 MB / 0.8538 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 3.126e-06/0.6919, allocations: 0 / 0.8538 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.003189/0.6951, allocations: 1.018 MB / 0.8548 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.6952, allocations: 192.6 kB / 0.855 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.6964, allocations: 0.7712 MB / 0.8557 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.6965, allocations: 41.7 kB / 0.8558 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.697, allocations: 0.5045 MB / 0.8563 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.6972, allocations: 238 kB / 0.8565 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.6975, allocations: 126.3 kB / 0.8566 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6976, allocations: 334 kB / 0.8569 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.6981, allocations: 213.2 kB / 0.8571 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.6987, allocations: 439.3 kB / 0.8575 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009722/0.6997, allocations: 0.5238 MB / 0.8581 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6997, allocations: 7.938 kB / 0.8581 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001855/0.7015, allocations: 0.7278 MB / 0.8588 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7016, allocations: 4 kB / 0.8588 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7016, allocations: 6.578 kB / 0.8588 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.7022, allocations: 76.88 kB / 0.8589 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.7027, allocations: 135.8 kB / 0.859 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.705, allocations: 1.534 MB / 0.8605 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.7057, allocations: 75.56 kB / 0.8606 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.7057, allocations: 35.67 kB / 0.8606 GB, free: 1.551 MB / 0.6231 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0004751/0.7062, allocations: 273.8 kB / 0.8608 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.7064, allocations: 107.3 kB / 0.861 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.7087, allocations: 0.9746 MB / 0.8619 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7087, allocations: 12 kB / 0.8619 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7087, allocations: 0 / 0.8619 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7087, allocations: 3.984 kB / 0.8619 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.7099, allocations: 0.8054 MB / 0.8627 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7099, allocations: 0 / 0.8627 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.7105, allocations: 139.8 kB / 0.8628 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/0.7109, allocations: 72.78 kB / 0.8629 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.711, allocations: 23.98 kB / 0.8629 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.7131, allocations: 1.562 MB / 0.8645 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7131, allocations: 0 / 0.8645 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.715, allocations: 0.8495 MB / 0.8653 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.7154, allocations: 207 kB / 0.8655 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.7155, allocations: 12 kB / 0.8655 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.7161, allocations: 54.12 kB / 0.8655 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.7162, allocations: 64.89 kB / 0.8656 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.7163, allocations: 27.98 kB / 0.8656 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007808/0.7171, allocations: 0.5498 MB / 0.8662 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7171, allocations: 0 / 0.8662 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008812/0.7179, allocations: 307.1 kB / 0.8665 GB, free: 11.33 MB / 0.6387 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004153/0.7221, allocations: 1.921 MB / 0.8683 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7236, allocations: 0.6927 MB / 0.869 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7236, allocations: 0 / 0.869 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.7245, allocations: 460.2 kB / 0.8695 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.7262, allocations: 463.7 kB / 0.8699 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.7383, allocations: 6.679 MB / 0.8764 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.7388, allocations: 0.4888 MB / 0.8769 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009251/0.7398, allocations: 279.2 kB / 0.8772 GB, free: 420 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.7404, allocations: 459.2 kB / 0.8776 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of SimCode: time 1.332e-06/0.7404, allocations: 0 / 0.8776 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/0.8034, allocations: 25.72 MB / 0.9027 GB, free: 6.504 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.24, allocations: 15.89 kB / 0.9027 GB, free: 6.492 MB / 0.67 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.08144404704217] Failed to read output from testmodel.py, exit status != 0: 15.535796680953354 15.561245655 14.882582526 Calling exit ...