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.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9031/0.9031, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 60.16 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1962, allocations: 80.93 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006833/0.2031, allocations: 4.862 MB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4926/0.6957, allocations: 150.7 MB / 0.7363 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.697, allocations: 23.53 kB / 0.7363 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009097/0.698, allocations: 333.3 kB / 0.7367 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.6999, allocations: 0.4934 MB / 0.7371 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.7021, allocations: 0.8176 MB / 0.7379 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.7038, allocations: 1.339 MB / 0.7393 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.7051, allocations: 0.8081 MB / 0.74 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008839/0.706, allocations: 486.8 kB / 0.7405 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.7066, allocations: 0.5022 MB / 0.741 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.7067, allocations: 120.1 kB / 0.7411 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.7078, allocations: 463.4 kB / 0.7416 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.7081, allocations: 303.6 kB / 0.7418 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.7087, allocations: 0.5914 MB / 0.7424 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.7109, allocations: 1.709 MB / 0.7441 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.711, allocations: 0 / 0.7441 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.507e-06/0.711, allocations: 0 / 0.7441 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.711, allocations: 3.938 kB / 0.7441 GB, free: 6.887 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.002739/0.7137, allocations: 1.576 MB / 0.7456 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.7138, allocations: 9.156 kB / 0.7456 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.7149, allocations: 210 kB / 0.7458 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.7163, allocations: 0.854 MB / 0.7467 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.7164, allocations: 66.69 kB / 0.7467 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.7165, allocations: 92.16 kB / 0.7468 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.7181, allocations: 0.9693 MB / 0.7478 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.7181, allocations: 0 / 0.7478 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.7183, allocations: 42.81 kB / 0.7478 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.7183, allocations: 23.19 kB / 0.7478 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7201, allocations: 1.119 MB / 0.7489 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.7246, allocations: 2.7 MB / 0.7516 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.7261, allocations: 0.6909 MB / 0.7522 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.7265, allocations: 281.5 kB / 0.7525 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.7266, allocations: 36.58 kB / 0.7525 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008495/0.7275, allocations: 409.9 kB / 0.7529 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 3.887e-06/0.7275, allocations: 3.984 kB / 0.7529 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.003266/0.7308, allocations: 1.081 MB / 0.754 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7309, allocations: 188.5 kB / 0.7542 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.7319, allocations: 0.7553 MB / 0.7549 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.732, allocations: 41.7 kB / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.7324, allocations: 495.9 kB / 0.7554 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.7326, allocations: 228.6 kB / 0.7556 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.7329, allocations: 146.2 kB / 0.7558 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7331, allocations: 330 kB / 0.7561 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.7335, allocations: 233.2 kB / 0.7563 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.7341, allocations: 323.3 kB / 0.7566 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.7352, allocations: 0.539 MB / 0.7572 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7352, allocations: 4 kB / 0.7572 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001803/0.737, allocations: 0.778 MB / 0.7579 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.7371, allocations: 6.188 kB / 0.7579 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7371, allocations: 0 / 0.7579 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.7377, allocations: 84.86 kB / 0.758 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.7384, allocations: 139.8 kB / 0.7581 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.7408, allocations: 1.642 MB / 0.7597 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.7416, allocations: 75.42 kB / 0.7598 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.7416, allocations: 32.05 kB / 0.7598 GB, free: 8.566 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.0005338/0.7422, allocations: 289.7 kB / 0.7601 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.7424, allocations: 98.8 kB / 0.7602 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.7447, allocations: 0.9734 MB / 0.7612 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.7448, allocations: 8 kB / 0.7612 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.7448, allocations: 0 / 0.7612 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7448, allocations: 9.094 kB / 0.7612 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.746, allocations: 0.927 MB / 0.7621 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.746, allocations: 0 / 0.7621 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.7465, allocations: 135.8 kB / 0.7622 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.747, allocations: 73.81 kB / 0.7623 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.7471, allocations: 23.98 kB / 0.7623 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.7491, allocations: 1.679 MB / 0.7639 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7491, allocations: 8.094 kB / 0.764 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.7509, allocations: 0.8372 MB / 0.7648 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.7513, allocations: 267.7 kB / 0.765 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7514, allocations: 19.91 kB / 0.765 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.7519, allocations: 51.94 kB / 0.7651 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7521, allocations: 52.92 kB / 0.7651 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.7522, allocations: 35.98 kB / 0.7652 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000752/0.7529, allocations: 0.5263 MB / 0.7657 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7529, allocations: 7.562 kB / 0.7657 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009113/0.7539, allocations: 299.2 kB / 0.766 GB, free: 2.031 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.001386/0.7552, allocations: 0.6086 MB / 0.7666 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.7574, allocations: 0.9182 MB / 0.7675 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.7574, allocations: 0 / 0.7675 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008531/0.7583, allocations: 484.9 kB / 0.7679 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.76, allocations: 464.7 kB / 0.7684 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.7641, allocations: 1.926 MB / 0.7703 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.7649, allocations: 1.074 MB / 0.7713 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008512/0.7657, allocations: 267.1 kB / 0.7716 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.766, allocations: 107.4 kB / 0.7717 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of SimCode: time 2.124e-06/0.766, allocations: 0 / 0.7717 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.02759/0.7936, allocations: 15.86 MB / 0.7872 GB, free: 12.68 MB / 0.6075 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)