Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001312/0.001312, allocations: 105.6 kB / 16.36 MB, free: 6.012 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.001337/0.001338, allocations: 195.2 kB / 17.31 MB, free: 5.613 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 423.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.66 kB / 0.5032 GB, free: 3.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4808, allocations: 80.2 MB / 0.5815 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007031/0.4879, allocations: 4.886 MB / 0.5863 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.6703, allocations: 150.7 MB / 0.7335 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.6718, allocations: 23.88 kB / 0.7335 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.6731, allocations: 333.6 kB / 0.7338 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.6757, allocations: 496 kB / 0.7343 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.6783, allocations: 0.8228 MB / 0.7351 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.6804, allocations: 1.352 MB / 0.7364 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.6818, allocations: 0.8077 MB / 0.7372 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007682/0.6825, allocations: 490 kB / 0.7377 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.6833, allocations: 0.5053 MB / 0.7382 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002575/0.6835, allocations: 120 kB / 0.7383 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.6847, allocations: 487.6 kB / 0.7387 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.6851, allocations: 310.9 kB / 0.739 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.6858, allocations: 0.5904 MB / 0.7396 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.6881, allocations: 1.756 MB / 0.7413 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6881, allocations: 0 / 0.7413 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6881, allocations: 0 / 0.7413 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.164e-05/0.6882, allocations: 0 / 0.7413 GB, free: 13.11 MB / 0.5762 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.002778/0.691, allocations: 1.578 MB / 0.7429 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.691, allocations: 12.03 kB / 0.7429 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.6919, allocations: 207.1 kB / 0.7431 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6933, allocations: 0.8712 MB / 0.7439 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.6933, allocations: 66 kB / 0.744 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6934, allocations: 92 kB / 0.7441 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.695, allocations: 0.9691 MB / 0.745 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.695, allocations: 3.938 kB / 0.745 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.6951, allocations: 51.98 kB / 0.7451 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.6951, allocations: 27.94 kB / 0.7451 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.6968, allocations: 1.112 MB / 0.7462 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.7007, allocations: 2.667 MB / 0.7488 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.7019, allocations: 0.6981 MB / 0.7495 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.7023, allocations: 266.4 kB / 0.7497 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-05/0.7024, allocations: 36.58 kB / 0.7498 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007059/0.7031, allocations: 413.7 kB / 0.7502 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.144e-06/0.7032, allocations: 7.938 kB / 0.7502 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002755/0.7059, allocations: 1.074 MB / 0.7512 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.706, allocations: 192.5 kB / 0.7514 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.7069, allocations: 0.7514 MB / 0.7521 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.707, allocations: 37.7 kB / 0.7522 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.7074, allocations: 0.492 MB / 0.7526 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.7075, allocations: 228.7 kB / 0.7529 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.7078, allocations: 142.2 kB / 0.753 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7079, allocations: 334 kB / 0.7533 GB, free: 492 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.7083, allocations: 237.2 kB / 0.7535 GB, free: 256 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.7089, allocations: 315.3 kB / 0.7538 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/0.7098, allocations: 0.5429 MB / 0.7544 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7099, allocations: 3.938 kB / 0.7544 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001707/0.7116, allocations: 0.7703 MB / 0.7551 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7116, allocations: 8 kB / 0.7551 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7116, allocations: 0 / 0.7551 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.7122, allocations: 88.8 kB / 0.7552 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.7128, allocations: 135.8 kB / 0.7554 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.715, allocations: 1.648 MB / 0.757 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.7157, allocations: 75.33 kB / 0.757 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.7157, allocations: 31.98 kB / 0.7571 GB, free: 12.46 MB / 0.5919 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.0004218/0.7162, allocations: 283.3 kB / 0.7573 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.7163, allocations: 98.72 kB / 0.7574 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.7184, allocations: 0.9684 MB / 0.7584 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.7185, allocations: 8 kB / 0.7584 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7185, allocations: 0 / 0.7584 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7185, allocations: 11.97 kB / 0.7584 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.7195, allocations: 0.9347 MB / 0.7593 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7195, allocations: 0 / 0.7593 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/0.72, allocations: 135.8 kB / 0.7594 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.7205, allocations: 80.81 kB / 0.7595 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.7205, allocations: 23.92 kB / 0.7595 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.7224, allocations: 1.673 MB / 0.7612 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7224, allocations: 0 / 0.7612 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.7242, allocations: 0.8374 MB / 0.762 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.7245, allocations: 271.6 kB / 0.7622 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.7247, allocations: 20.06 kB / 0.7623 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.7252, allocations: 55.94 kB / 0.7623 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.7253, allocations: 56.86 kB / 0.7624 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.7254, allocations: 31.98 kB / 0.7624 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006292/0.726, allocations: 0.5263 MB / 0.7629 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.726, allocations: 0 / 0.7629 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007673/0.7268, allocations: 311 kB / 0.7632 GB, free: 5.91 MB / 0.5919 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.001294/0.7281, allocations: 0.6014 MB / 0.7638 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.7295, allocations: 0.7318 MB / 0.7645 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7295, allocations: 0 / 0.7645 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.7304, allocations: 484.3 kB / 0.765 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.7321, allocations: 458.4 kB / 0.7654 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.7361, allocations: 1.905 MB / 0.7673 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.7368, allocations: 1.075 MB / 0.7683 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009602/0.7378, allocations: 275.1 kB / 0.7686 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.738, allocations: 103.4 kB / 0.7687 GB, free: 492 kB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.738, allocations: 0 / 0.7687 GB, free: 492 kB / 0.5919 GB Notification: Performance of Templates: time 0.02628/0.7643, allocations: 15.86 MB / 0.7842 GB, free: 0.7812 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)