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.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.00172/0.00172, allocations: 105.2 kB / 16.45 MB, free: 6.445 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.00185/0.00185, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.525/1.525, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.104/1.104, allocations: 175.7 MB / 478.4 MB, free: 3.723 MB / 366.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-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(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 0.001973/0.001973, allocations: 66.94 kB / 0.6652 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1863, allocations: 94.54 MB / 0.7575 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008438/0.1948, allocations: 5.649 MB / 0.763 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5967/0.7915, allocations: 151.3 MB / 0.9108 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.7927, allocations: 26.94 kB / 0.9108 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009285/0.7936, allocations: 364 kB / 0.9112 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.7958, allocations: 0.5731 MB / 0.9117 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.7979, allocations: 0.8692 MB / 0.9126 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.7999, allocations: 1.551 MB / 0.9141 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.8008, allocations: 0.5103 MB / 0.9146 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008058/0.8016, allocations: 0.5445 MB / 0.9151 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.8023, allocations: 0.5695 MB / 0.9157 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.8025, allocations: 135.2 kB / 0.9158 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008973/0.8034, allocations: 0.4911 MB / 0.9163 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.8037, allocations: 334.8 kB / 0.9166 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.8043, allocations: 0.6585 MB / 0.9173 GB, free: 14.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.8069, allocations: 1.931 MB / 0.9191 GB, free: 13.4 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8069, allocations: 0 / 0.9191 GB, free: 13.4 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8069, allocations: 2.281 kB / 0.9191 GB, free: 13.4 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.326e-05/0.807, allocations: 0 / 0.9191 GB, free: 13.4 MB / 0.67 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.00339/0.8104, allocations: 1.737 MB / 0.9208 GB, free: 12.03 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8104, allocations: 9.938 kB / 0.9209 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.8106, allocations: 153.1 kB / 0.921 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.8116, allocations: 229.6 kB / 0.9212 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.8131, allocations: 0.9157 MB / 0.9221 GB, free: 11.06 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.8132, allocations: 78.11 kB / 0.9222 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.8133, allocations: 91.91 kB / 0.9223 GB, free: 11 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.815, allocations: 1.03 MB / 0.9233 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.815, allocations: 4 kB / 0.9233 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.8151, allocations: 49.64 kB / 0.9233 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.8151, allocations: 24 kB / 0.9234 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.8169, allocations: 1.169 MB / 0.9245 GB, free: 9.746 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.8217, allocations: 3.074 MB / 0.9275 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.8231, allocations: 0.7475 MB / 0.9282 GB, free: 6.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/0.8236, allocations: 279.2 kB / 0.9285 GB, free: 6.75 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.8237, allocations: 29.2 kB / 0.9285 GB, free: 6.734 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.8246, allocations: 496.8 kB / 0.929 GB, free: 6.422 MB / 0.67 GB Notification: Performance of pre-optimization done (n=78): time 2.164e-06/0.8246, allocations: 3.938 kB / 0.929 GB, free: 6.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=78): time 0.003155/0.8278, allocations: 1.222 MB / 0.9302 GB, free: 5.746 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8279, allocations: 188.5 kB / 0.9304 GB, free: 5.527 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.829, allocations: 0.7982 MB / 0.9312 GB, free: 5.059 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.756e-05/0.829, allocations: 46.56 kB / 0.9312 GB, free: 5.012 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.8295, allocations: 0.5105 MB / 0.9317 GB, free: 4.559 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.8297, allocations: 266.9 kB / 0.9319 GB, free: 4.328 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.83, allocations: 148.8 kB / 0.9321 GB, free: 4.234 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.8301, allocations: 337.9 kB / 0.9324 GB, free: 3.906 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.8306, allocations: 239.7 kB / 0.9326 GB, free: 3.789 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.8312, allocations: 360.6 kB / 0.933 GB, free: 3.559 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.8323, allocations: 0.5776 MB / 0.9335 GB, free: 3.242 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8323, allocations: 0 / 0.9335 GB, free: 3.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002256/0.8346, allocations: 0.8177 MB / 0.9343 GB, free: 2.816 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8346, allocations: 12.75 kB / 0.9344 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8346, allocations: 0 / 0.9344 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006743/0.8353, allocations: 80.19 kB / 0.9344 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.8359, allocations: 156.5 kB / 0.9346 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.8383, allocations: 1.642 MB / 0.9362 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.839, allocations: 86.52 kB / 0.9363 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.8391, allocations: 36.16 kB / 0.9363 GB, free: 1.043 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.0005155/0.8396, allocations: 289 kB / 0.9366 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.8398, allocations: 106.7 kB / 0.9367 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.8423, allocations: 1.084 MB / 0.9377 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.8423, allocations: 9.969 kB / 0.9378 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8423, allocations: 3.938 kB / 0.9378 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.8423, allocations: 3.984 kB / 0.9378 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.8438, allocations: 1.007 MB / 0.9387 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.8438, allocations: 0 / 0.9387 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.8443, allocations: 137.1 kB / 0.9389 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.8447, allocations: 74.56 kB / 0.9389 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.8448, allocations: 27.41 kB / 0.939 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.847, allocations: 1.679 MB / 0.9406 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.847, allocations: 0 / 0.9406 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.849, allocations: 0.9515 MB / 0.9415 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.8495, allocations: 293.8 kB / 0.9418 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.8496, allocations: 20.39 kB / 0.9418 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.8503, allocations: 63.28 kB / 0.9419 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8504, allocations: 73.45 kB / 0.942 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.8505, allocations: 35.14 kB / 0.942 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008622/0.8514, allocations: 0.56 MB / 0.9426 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8514, allocations: 0 / 0.9426 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009719/0.8523, allocations: 343 kB / 0.9429 GB, free: 12 MB / 0.6856 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.004281/0.8566, allocations: 2.003 MB / 0.9448 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.8583, allocations: 0.7728 MB / 0.9456 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8583, allocations: 0 / 0.9456 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.8593, allocations: 488.2 kB / 0.9461 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.861, allocations: 470.9 kB / 0.9465 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.8737, allocations: 7.001 MB / 0.9533 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009459/0.8747, allocations: 1.094 MB / 0.9544 GB, free: 200 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009832/0.8757, allocations: 283.8 kB / 0.9547 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/0.8763, allocations: 467.2 kB / 0.9551 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of SimCode: time 1.002e-06/0.8763, allocations: 3.938 kB / 0.9551 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0673/0.9436, allocations: 25.91 MB / 0.9804 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.71, allocations: 21.17 kB / 0.9805 GB, free: 5.77 MB / 0.7169 GB " [Timeout remaining time 645] (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: 19.06487066997215] Failed to read output from testmodel.py, exit status != 0: 14.918619757983834 14.941207911 14.129894579 Calling exit ...