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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 194.5 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9522/0.9522, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 60.81 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1485, allocations: 80.93 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00616/0.1547, allocations: 4.863 MB / 0.5885 GB, free: 108 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4648/0.6196, allocations: 148.4 MB / 0.7334 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.6208, allocations: 26.03 kB / 0.7334 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.6216, allocations: 279.2 kB / 0.7337 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.6233, allocations: 408.6 kB / 0.7341 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.6253, allocations: 0.7093 MB / 0.7348 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.6269, allocations: 1.252 MB / 0.736 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.628, allocations: 0.7934 MB / 0.7368 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.6286, allocations: 416 kB / 0.7372 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.6291, allocations: 490.8 kB / 0.7376 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.6293, allocations: 60.69 kB / 0.7377 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.6301, allocations: 396.1 kB / 0.7381 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.6304, allocations: 255.5 kB / 0.7383 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.6309, allocations: 0.5317 MB / 0.7388 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.6325, allocations: 1.654 MB / 0.7404 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.6325, allocations: 0 / 0.7404 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6325, allocations: 4.938 kB / 0.7405 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.6325, allocations: 0 / 0.7405 GB, free: 9.691 MB / 0.5606 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.002638/0.6352, allocations: 1.571 MB / 0.742 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6352, allocations: 13.62 kB / 0.742 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.6362, allocations: 209 kB / 0.7422 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.6375, allocations: 0.8479 MB / 0.743 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.6375, allocations: 67.12 kB / 0.7431 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.6377, allocations: 96.22 kB / 0.7432 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.6396, allocations: 0.9647 MB / 0.7441 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.6396, allocations: 6.578 kB / 0.7441 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.6397, allocations: 44.03 kB / 0.7442 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.6398, allocations: 23.59 kB / 0.7442 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.6416, allocations: 1.111 MB / 0.7453 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.6459, allocations: 2.693 MB / 0.7479 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.6471, allocations: 0.7133 MB / 0.7486 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.6476, allocations: 271.1 kB / 0.7489 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/0.6477, allocations: 20.39 kB / 0.7489 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/0.6485, allocations: 427.9 kB / 0.7493 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 3.987e-06/0.6485, allocations: 0 / 0.7493 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002919/0.6514, allocations: 1.077 MB / 0.7503 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6515, allocations: 192.5 kB / 0.7505 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.6525, allocations: 0.7514 MB / 0.7513 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.6526, allocations: 41.7 kB / 0.7513 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.6531, allocations: 488 kB / 0.7518 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.6533, allocations: 232.6 kB / 0.752 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.6535, allocations: 151.7 kB / 0.7521 GB, free: 492 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6537, allocations: 337.9 kB / 0.7525 GB, free: 148 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.6541, allocations: 229.3 kB / 0.7527 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.6547, allocations: 323.3 kB / 0.753 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.6557, allocations: 0.5429 MB / 0.7535 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6557, allocations: 0 / 0.7535 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00177/0.6575, allocations: 0.7754 MB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6575, allocations: 6.188 kB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.6575, allocations: 0 / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.6582, allocations: 88.8 kB / 0.7544 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.6588, allocations: 139.8 kB / 0.7545 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.6609, allocations: 1.533 MB / 0.756 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/0.6616, allocations: 79.42 kB / 0.7561 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.6617, allocations: 31.97 kB / 0.7561 GB, free: 12.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (80): * Single equations (assignments): 79 * 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.0004979/0.6622, allocations: 285.6 kB / 0.7564 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.6624, allocations: 90.88 kB / 0.7565 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.6646, allocations: 0.9788 MB / 0.7574 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6646, allocations: 13.19 kB / 0.7574 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.6646, allocations: 0 / 0.7574 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6647, allocations: 3.984 kB / 0.7574 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6658, allocations: 0.9231 MB / 0.7583 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6658, allocations: 7.922 kB / 0.7583 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.6663, allocations: 131.8 kB / 0.7585 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.6669, allocations: 88.77 kB / 0.7585 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.6669, allocations: 15.98 kB / 0.7586 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.6689, allocations: 1.559 MB / 0.7601 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6689, allocations: 0 / 0.7601 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.6707, allocations: 0.8489 MB / 0.7609 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.6711, allocations: 271.6 kB / 0.7612 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6712, allocations: 12 kB / 0.7612 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.6717, allocations: 55.89 kB / 0.7612 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6719, allocations: 60.91 kB / 0.7613 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.6719, allocations: 27.98 kB / 0.7613 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006518/0.6726, allocations: 0.5302 MB / 0.7618 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6726, allocations: 0 / 0.7618 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009503/0.6735, allocations: 311.1 kB / 0.7621 GB, free: 5.824 MB / 0.5762 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.001409/0.675, allocations: 0.6035 MB / 0.7627 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.6765, allocations: 0.7349 MB / 0.7634 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6765, allocations: 8 kB / 0.7635 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008338/0.6773, allocations: 480.8 kB / 0.7639 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.6788, allocations: 406.6 kB / 0.7643 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.683, allocations: 2.386 MB / 0.7666 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.6837, allocations: 1.078 MB / 0.7677 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009073/0.6846, allocations: 275.1 kB / 0.7679 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.6849, allocations: 99.47 kB / 0.768 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/0.6849, allocations: 0 / 0.768 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.02962/0.7145, allocations: 15.27 MB / 0.7829 GB, free: 0.8008 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)