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.001318/0.001318, allocations: 105.5 kB / 16.45 MB, free: 6.508 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.001339/0.001339, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.8662/0.8662, allocations: 133.9 MB / 442.8 MB, free: 11.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",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.003013/0.003013, allocations: 66.33 kB / 0.6134 GB, free: 8.801 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1834, allocations: 85.84 MB / 0.6972 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00745/0.1909, allocations: 4.943 MB / 0.7021 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5174/0.7083, allocations: 154.1 MB / 0.8526 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.7091, allocations: 35.69 kB / 0.8526 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.7102, allocations: 345.5 kB / 0.8529 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.712, allocations: 0.5078 MB / 0.8534 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.7141, allocations: 0.8432 MB / 0.8543 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.7159, allocations: 1.368 MB / 0.8556 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008922/0.7168, allocations: 0.5567 MB / 0.8561 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.7175, allocations: 0.5098 MB / 0.8566 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.718, allocations: 0.5131 MB / 0.8571 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.7182, allocations: 120 kB / 0.8573 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000977/0.7192, allocations: 0.5207 MB / 0.8578 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.7195, allocations: 314.9 kB / 0.8581 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.7201, allocations: 0.5981 MB / 0.8586 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.7223, allocations: 1.821 MB / 0.8604 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7223, allocations: 0 / 0.8604 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7223, allocations: 0 / 0.8604 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.7224, allocations: 0 / 0.8604 GB, free: 1.133 MB / 0.6231 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.002693/0.725, allocations: 1.643 MB / 0.862 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7251, allocations: 13.11 kB / 0.862 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.7253, allocations: 152.1 kB / 0.8622 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.7268, allocations: 255.9 kB / 0.8624 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.7282, allocations: 0.8956 MB / 0.8633 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/0.7283, allocations: 70 kB / 0.8634 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.7284, allocations: 95.94 kB / 0.8635 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.7301, allocations: 0.9692 MB / 0.8644 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.7301, allocations: 0 / 0.8644 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.7302, allocations: 40 kB / 0.8644 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.7302, allocations: 24 kB / 0.8645 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.7322, allocations: 1.12 MB / 0.8656 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/0.7371, allocations: 2.679 MB / 0.8682 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.7386, allocations: 0.6651 MB / 0.8688 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.7391, allocations: 246.4 kB / 0.8691 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/0.7391, allocations: 36.58 kB / 0.8691 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.74, allocations: 421.7 kB / 0.8695 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.003e-06/0.74, allocations: 0 / 0.8695 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.003086/0.743, allocations: 1.087 MB / 0.8706 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.7432, allocations: 188.5 kB / 0.8707 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.7444, allocations: 0.7751 MB / 0.8715 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.7445, allocations: 41.7 kB / 0.8715 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.7449, allocations: 0.5007 MB / 0.872 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.7451, allocations: 242 kB / 0.8723 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.7454, allocations: 134 kB / 0.8724 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7455, allocations: 334 kB / 0.8727 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.746, allocations: 209.2 kB / 0.8729 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.7465, allocations: 315.7 kB / 0.8732 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7475, allocations: 0.5195 MB / 0.8737 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7475, allocations: 0 / 0.8737 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001846/0.7494, allocations: 0.7317 MB / 0.8744 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7494, allocations: 8 kB / 0.8744 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7494, allocations: 0 / 0.8744 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.75, allocations: 84.77 kB / 0.8745 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.7506, allocations: 131.8 kB / 0.8746 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.7529, allocations: 1.64 MB / 0.8762 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.7534, allocations: 73.11 kB / 0.8763 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.7535, allocations: 31.98 kB / 0.8763 GB, free: 304 kB / 0.6387 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.000442/0.7539, allocations: 273.8 kB / 0.8766 GB, free: 20 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.7541, allocations: 107.3 kB / 0.8767 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.7564, allocations: 0.9753 MB / 0.8777 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7564, allocations: 8 kB / 0.8777 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.7564, allocations: 0 / 0.8777 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.7564, allocations: 11.92 kB / 0.8777 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.7576, allocations: 0.9544 MB / 0.8786 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7576, allocations: 0 / 0.8786 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.7581, allocations: 135.8 kB / 0.8787 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.7585, allocations: 72.78 kB / 0.8788 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.7586, allocations: 23.98 kB / 0.8788 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.7606, allocations: 1.67 MB / 0.8805 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7606, allocations: 8.047 kB / 0.8805 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.7625, allocations: 0.8455 MB / 0.8813 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.7629, allocations: 284.1 kB / 0.8816 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.763, allocations: 12 kB / 0.8816 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.7635, allocations: 51.94 kB / 0.8816 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.7636, allocations: 56.92 kB / 0.8817 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.7637, allocations: 35.97 kB / 0.8817 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007543/0.7645, allocations: 0.5515 MB / 0.8823 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7645, allocations: 0 / 0.8823 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000857/0.7653, allocations: 307.1 kB / 0.8825 GB, free: 9.684 MB / 0.6544 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.004018/0.7693, allocations: 1.898 MB / 0.8844 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.771, allocations: 0.6848 MB / 0.8851 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.771, allocations: 4 kB / 0.8851 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000905/0.7719, allocations: 468.3 kB / 0.8855 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.7738, allocations: 446 kB / 0.8859 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.7866, allocations: 6.674 MB / 0.8925 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/0.7875, allocations: 1.076 MB / 0.8935 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001008/0.7885, allocations: 279.2 kB / 0.8938 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/0.7891, allocations: 455.2 kB / 0.8942 GB, free: 13.77 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/0.7891, allocations: 0 / 0.8942 GB, free: 13.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.8513, allocations: 24.29 MB / 0.9179 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.15, allocations: 1.094 kB / 0.9179 GB, free: 5.691 MB / 0.6856 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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: 17.937533181000617] Failed to read output from testmodel.py, exit status != 0: 14.35883647200535 14.372726758 13.647146057 Calling exit ...