Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008379/0.0008379, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009526/0.0009526, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9334/0.9334, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7283/0.7283, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.618 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.725e-05, allocations: 5.453 kB / 0.618 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008333/0.00836, allocations: 5.078 MB / 0.623 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.4345/0.4429, allocations: 133 MB / 0.7529 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009575/0.4438, allocations: 35.69 kB / 0.7529 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000778/0.4446, allocations: 372.3 kB / 0.7533 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.4462, allocations: 0.5982 MB / 0.7538 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.448, allocations: 0.9081 MB / 0.7547 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.4499, allocations: 1.616 MB / 0.7563 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007785/0.4507, allocations: 492.6 kB / 0.7568 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.4517, allocations: 0.8185 MB / 0.7576 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.4522, allocations: 446.6 kB / 0.758 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.4524, allocations: 136 kB / 0.7581 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008352/0.4532, allocations: 0.4974 MB / 0.7586 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.4534, allocations: 350.7 kB / 0.759 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.4537, allocations: 434.8 kB / 0.7594 GB, free: 88 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.4556, allocations: 2.056 MB / 0.7614 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4556, allocations: 0 / 0.7614 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4556, allocations: 0 / 0.7614 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.949e-05/0.4557, allocations: 4 kB / 0.7614 GB, free: 14.02 MB / 0.6355 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.002287/0.458, allocations: 1.664 MB / 0.763 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.0002164/0.4582, allocations: 10.97 kB / 0.763 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.4583, allocations: 156.4 kB / 0.7632 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.4592, allocations: 267.8 kB / 0.7634 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.4604, allocations: 0.839 MB / 0.7642 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.4605, allocations: 74 kB / 0.7643 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.4606, allocations: 99.94 kB / 0.7644 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4619, allocations: 1.283 MB / 0.7657 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4619, allocations: 0 / 0.7657 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.4619, allocations: 40 kB / 0.7657 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4619, allocations: 24 kB / 0.7657 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.4632, allocations: 1.124 MB / 0.7668 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.4662, allocations: 2.51 MB / 0.7693 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.4673, allocations: 0.7481 MB / 0.77 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.4677, allocations: 274.6 kB / 0.7703 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.4677, allocations: 24.62 kB / 0.7703 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/0.4683, allocations: 0.587 MB / 0.7709 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.265e-06/0.4683, allocations: 0 / 0.7709 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001986/0.4703, allocations: 1.142 MB / 0.772 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.4704, allocations: 188.6 kB / 0.7722 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.4712, allocations: 0.8224 MB / 0.773 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.4712, allocations: 41.7 kB / 0.773 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.4716, allocations: 0.5242 MB / 0.7735 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.4717, allocations: 265.8 kB / 0.7738 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4719, allocations: 142.6 kB / 0.7739 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.472, allocations: 337.9 kB / 0.7742 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.4723, allocations: 241.9 kB / 0.7745 GB, free: 260 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.4727, allocations: 480 kB / 0.7749 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.4734, allocations: 0.5916 MB / 0.7755 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4734, allocations: 0 / 0.7755 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001248/0.4747, allocations: 0.8217 MB / 0.7763 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4747, allocations: 4 kB / 0.7763 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.4747, allocations: 4 kB / 0.7763 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.475, allocations: 84.81 kB / 0.7764 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.4754, allocations: 149.2 kB / 0.7765 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.4771, allocations: 1.533 MB / 0.778 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.4777, allocations: 87.53 kB / 0.7781 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.4777, allocations: 35.92 kB / 0.7781 GB, free: 12.29 MB / 0.6511 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.0004534/0.4782, allocations: 295.3 kB / 0.7784 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4783, allocations: 111.2 kB / 0.7785 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.4797, allocations: 1.073 MB / 0.7796 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4797, allocations: 12 kB / 0.7796 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4797, allocations: 3.938 kB / 0.7796 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4797, allocations: 7.969 kB / 0.7796 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.4806, allocations: 0.8534 MB / 0.7804 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4806, allocations: 0 / 0.7804 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.4809, allocations: 143.7 kB / 0.7806 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.4812, allocations: 80.78 kB / 0.7806 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.4812, allocations: 19.98 kB / 0.7807 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.4824, allocations: 1.555 MB / 0.7822 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4824, allocations: 4.031 kB / 0.7822 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.4836, allocations: 0.9517 MB / 0.7831 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.484, allocations: 219.1 kB / 0.7833 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.4841, allocations: 19.98 kB / 0.7833 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.4844, allocations: 67.92 kB / 0.7834 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4845, allocations: 72.86 kB / 0.7835 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.4846, allocations: 31.98 kB / 0.7835 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007293/0.4853, allocations: 0.5821 MB / 0.7841 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4853, allocations: 0 / 0.7841 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000777/0.4861, allocations: 347 kB / 0.7844 GB, free: 5.648 MB / 0.6511 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.002544/0.4886, allocations: 2.041 MB / 0.7864 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.4898, allocations: 0.7726 MB / 0.7872 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4898, allocations: 0 / 0.7872 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.4903, allocations: 496.4 kB / 0.7876 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4914, allocations: 478.9 kB / 0.7881 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.4998, allocations: 7.094 MB / 0.795 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5002, allocations: 0.51 MB / 0.7955 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007112/0.5009, allocations: 279.9 kB / 0.7958 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.5014, allocations: 488.2 kB / 0.7962 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of SimCode: time 1.653e-06/0.5014, allocations: 0 / 0.7962 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.5488, allocations: 28.1 MB / 0.8237 GB, free: 13.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.775/9.323, allocations: 6.797 kB / 0.8237 GB, free: 13.84 MB / 0.698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.139092762954533] Failed to read output from testmodel.py, exit status != 0: 9.480125701986253 9.497430852 9.038929573 Calling exit ...