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.001549/0.001549, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001567/0.001567, allocations: 193.3 kB / 16.25 MB, free: 6.641 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9445/0.9445, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 56.03 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1591, allocations: 81.03 MB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007175/0.1663, allocations: 4.865 MB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.396/0.5624, allocations: 148.5 MB / 0.7343 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007986/0.5632, allocations: 22.06 kB / 0.7343 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.564, allocations: 292.8 kB / 0.7346 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.5655, allocations: 433.2 kB / 0.735 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.5674, allocations: 0.7377 MB / 0.7357 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.5689, allocations: 1.341 MB / 0.737 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.5699, allocations: 0.8074 MB / 0.7378 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.5705, allocations: 491.3 kB / 0.7383 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.5711, allocations: 0.5044 MB / 0.7388 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.5712, allocations: 117.8 kB / 0.7389 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008618/0.5721, allocations: 461.3 kB / 0.7393 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.5724, allocations: 301.3 kB / 0.7396 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.5729, allocations: 0.6029 MB / 0.7402 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.5746, allocations: 1.712 MB / 0.7419 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5746, allocations: 0 / 0.7419 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5746, allocations: 1.375 kB / 0.7419 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.5746, allocations: 0 / 0.7419 GB, free: 8.652 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.002452/0.5771, allocations: 1.574 MB / 0.7434 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5771, allocations: 9.906 kB / 0.7434 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/0.578, allocations: 210 kB / 0.7436 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.5792, allocations: 0.8511 MB / 0.7444 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.5792, allocations: 73.28 kB / 0.7445 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/0.5793, allocations: 88.03 kB / 0.7446 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.5809, allocations: 0.9761 MB / 0.7455 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5809, allocations: 0 / 0.7455 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.581, allocations: 41.88 kB / 0.7456 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5811, allocations: 27.5 kB / 0.7456 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.5826, allocations: 1.119 MB / 0.7467 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.5865, allocations: 2.688 MB / 0.7493 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.5878, allocations: 0.698 MB / 0.75 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.5883, allocations: 266.4 kB / 0.7503 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.5884, allocations: 40.58 kB / 0.7503 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008131/0.5892, allocations: 413.7 kB / 0.7507 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 1.994e-06/0.5892, allocations: 0 / 0.7507 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002884/0.5921, allocations: 1.081 MB / 0.7518 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.5922, allocations: 188.5 kB / 0.7519 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/0.5932, allocations: 0.7553 MB / 0.7527 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.5933, allocations: 37.7 kB / 0.7527 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.5937, allocations: 499.9 kB / 0.7532 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.5939, allocations: 224.7 kB / 0.7534 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.5941, allocations: 146.2 kB / 0.7535 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5943, allocations: 334 kB / 0.7539 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.5947, allocations: 233.2 kB / 0.7541 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.5953, allocations: 319.3 kB / 0.7544 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5964, allocations: 0.539 MB / 0.7549 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5964, allocations: 4 kB / 0.7549 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001881/0.5983, allocations: 0.7819 MB / 0.7557 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5983, allocations: 4 kB / 0.7557 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5983, allocations: 0 / 0.7557 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.5989, allocations: 89.98 kB / 0.7558 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.5995, allocations: 135.8 kB / 0.7559 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.6017, allocations: 1.649 MB / 0.7575 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.6024, allocations: 79.42 kB / 0.7576 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.6025, allocations: 27.98 kB / 0.7576 GB, free: 10.59 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.0004815/0.603, allocations: 279.2 kB / 0.7579 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.6032, allocations: 106.7 kB / 0.758 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.6055, allocations: 0.9705 MB / 0.7589 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6055, allocations: 8 kB / 0.7589 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6055, allocations: 5.5 kB / 0.7589 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6055, allocations: 3.984 kB / 0.7589 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6068, allocations: 0.927 MB / 0.7598 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6068, allocations: 4 kB / 0.7599 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.6073, allocations: 131.8 kB / 0.76 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/0.6078, allocations: 76.78 kB / 0.7601 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6079, allocations: 23.98 kB / 0.7601 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.6099, allocations: 1.672 MB / 0.7617 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6099, allocations: 0 / 0.7617 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.6118, allocations: 0.8529 MB / 0.7625 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.6122, allocations: 267.6 kB / 0.7628 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6123, allocations: 16 kB / 0.7628 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.6128, allocations: 54.41 kB / 0.7629 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.613, allocations: 64.89 kB / 0.7629 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.613, allocations: 27.98 kB / 0.763 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007377/0.6138, allocations: 0.5302 MB / 0.7635 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6138, allocations: 0 / 0.7635 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008468/0.6146, allocations: 311 kB / 0.7638 GB, free: 4.047 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.001837/0.6165, allocations: 0.6022 MB / 0.7644 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.6186, allocations: 0.9068 MB / 0.7652 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6186, allocations: 4 kB / 0.7652 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.6195, allocations: 485.3 kB / 0.7657 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.621, allocations: 456 kB / 0.7661 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.6255, allocations: 2.391 MB / 0.7685 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.6262, allocations: 1.074 MB / 0.7695 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009593/0.6272, allocations: 275.1 kB / 0.7698 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.6274, allocations: 99.39 kB / 0.7699 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.6275, allocations: 4 kB / 0.7699 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of Templates: time 0.02863/0.6561, allocations: 15.79 MB / 0.7853 GB, free: 14.32 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)