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.001255/0.001255, allocations: 109 kB / 17.54 MB, free: 4.746 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.001253/0.001253, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9849/0.9849, allocations: 175.7 MB / 480.1 MB, free: 2.828 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.001785/0.001785, allocations: 74.97 kB / 0.6677 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 94.53 MB / 0.76 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007341/0.1654, allocations: 5.694 MB / 0.7656 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4977/0.6631, allocations: 151.4 MB / 0.9135 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.6645, allocations: 22.5 kB / 0.9135 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.6655, allocations: 365.7 kB / 0.9139 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.6673, allocations: 0.5727 MB / 0.9144 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.6691, allocations: 0.898 MB / 0.9153 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.6706, allocations: 1.549 MB / 0.9168 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.6714, allocations: 0.4981 MB / 0.9173 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.672, allocations: 0.5407 MB / 0.9178 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.6726, allocations: 0.5716 MB / 0.9184 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.6728, allocations: 137.9 kB / 0.9185 GB, free: 14.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.6736, allocations: 498.6 kB / 0.919 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.6739, allocations: 338.9 kB / 0.9193 GB, free: 14.47 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.6744, allocations: 0.6604 MB / 0.92 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.6763, allocations: 1.931 MB / 0.9218 GB, free: 12.56 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.6763, allocations: 0 / 0.9218 GB, free: 12.56 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6763, allocations: 0 / 0.9218 GB, free: 12.56 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.6764, allocations: 0 / 0.9218 GB, free: 12.56 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.002531/0.6789, allocations: 1.728 MB / 0.9235 GB, free: 11.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.6789, allocations: 18.75 kB / 0.9235 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.6791, allocations: 153.4 kB / 0.9237 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.68, allocations: 223.4 kB / 0.9239 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6812, allocations: 0.9187 MB / 0.9248 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.6812, allocations: 75.47 kB / 0.9249 GB, free: 10.19 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6813, allocations: 95.84 kB / 0.925 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6829, allocations: 1.033 MB / 0.926 GB, free: 9.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6829, allocations: 4 kB / 0.926 GB, free: 9.496 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.683, allocations: 43 kB / 0.926 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.683, allocations: 23.62 kB / 0.926 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.6847, allocations: 1.164 MB / 0.9272 GB, free: 8.918 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.6887, allocations: 3.082 MB / 0.9302 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.6901, allocations: 0.7455 MB / 0.9309 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.6905, allocations: 276.2 kB / 0.9312 GB, free: 5.918 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.6906, allocations: 31.98 kB / 0.9312 GB, free: 5.902 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/0.6914, allocations: 499.2 kB / 0.9317 GB, free: 5.586 MB / 0.67 GB Notification: Performance of pre-optimization done (n=78): time 1.794e-06/0.6914, allocations: 0 / 0.9317 GB, free: 5.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=78): time 0.002873/0.6943, allocations: 1.212 MB / 0.9329 GB, free: 4.922 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.6944, allocations: 188.1 kB / 0.933 GB, free: 4.703 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.6953, allocations: 0.797 MB / 0.9338 GB, free: 4.238 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.6954, allocations: 42.95 kB / 0.9339 GB, free: 4.195 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.6958, allocations: 0.5198 MB / 0.9344 GB, free: 3.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.696, allocations: 270.5 kB / 0.9346 GB, free: 3.496 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.6962, allocations: 143.6 kB / 0.9348 GB, free: 3.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6964, allocations: 338.7 kB / 0.9351 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.6968, allocations: 247.7 kB / 0.9353 GB, free: 2.953 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.6974, allocations: 357.4 kB / 0.9357 GB, free: 2.727 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/0.6984, allocations: 0.5757 MB / 0.9362 GB, free: 2.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6984, allocations: 0 / 0.9362 GB, free: 2.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001721/0.7001, allocations: 0.8268 MB / 0.937 GB, free: 1.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7001, allocations: 10.97 kB / 0.937 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7001, allocations: 0 / 0.937 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.7007, allocations: 80.31 kB / 0.9371 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.7012, allocations: 148.5 kB / 0.9373 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.7033, allocations: 1.651 MB / 0.9389 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.7039, allocations: 85.89 kB / 0.939 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.704, allocations: 30.3 kB / 0.939 GB, free: 216 kB / 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.0004697/0.7045, allocations: 295.8 kB / 0.9393 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.7046, allocations: 111.6 kB / 0.9394 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.7068, allocations: 1.067 MB / 0.9404 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.7068, allocations: 10.09 kB / 0.9404 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.7068, allocations: 3.938 kB / 0.9404 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7068, allocations: 7.969 kB / 0.9404 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.7079, allocations: 1.004 MB / 0.9414 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.7079, allocations: 6.812 kB / 0.9414 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.7084, allocations: 142.7 kB / 0.9416 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.7088, allocations: 74.88 kB / 0.9416 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.7089, allocations: 23.08 kB / 0.9417 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.7108, allocations: 1.673 MB / 0.9433 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7108, allocations: 0 / 0.9433 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.7126, allocations: 0.9515 MB / 0.9442 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.713, allocations: 293.2 kB / 0.9445 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.7131, allocations: 20.64 kB / 0.9445 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.7137, allocations: 62.94 kB / 0.9446 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7138, allocations: 69.86 kB / 0.9446 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.7139, allocations: 38.89 kB / 0.9447 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007404/0.7147, allocations: 0.5578 MB / 0.9452 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.7147, allocations: 0 / 0.9452 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008535/0.7155, allocations: 347 kB / 0.9456 GB, free: 11.14 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.003926/0.7194, allocations: 2.007 MB / 0.9475 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.721, allocations: 0.7728 MB / 0.9483 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.721, allocations: 4 kB / 0.9483 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.722, allocations: 484.3 kB / 0.9487 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.7236, allocations: 472.9 kB / 0.9492 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.7345, allocations: 7.01 MB / 0.956 GB, free: 440 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/0.7352, allocations: 1.094 MB / 0.9571 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007841/0.736, allocations: 283.8 kB / 0.9574 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/0.7366, allocations: 467.2 kB / 0.9578 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.7366, allocations: 0 / 0.9578 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06407/0.8007, allocations: 25.93 MB / 0.9831 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.08, allocations: 7.859 kB / 0.9832 GB, free: 4.828 MB / 0.7169 GB " [Timeout remaining time 647] (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 --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: 16.69859991899284]