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.00172/0.00172, allocations: 115.4 kB / 16.37 MB, free: 6.016 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.001864/0.001864, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 80.19 MB / 0.5815 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005474/0.3442, allocations: 4.873 MB / 0.5863 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1592/0.5035, allocations: 150.7 MB / 0.7335 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.5045, allocations: 27.81 kB / 0.7335 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008102/0.5054, allocations: 341.5 kB / 0.7338 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.5071, allocations: 487.8 kB / 0.7343 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.509, allocations: 0.8223 MB / 0.7351 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.5104, allocations: 1.356 MB / 0.7364 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.5115, allocations: 0.8115 MB / 0.7372 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.512, allocations: 490.1 kB / 0.7377 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.5126, allocations: 0.5014 MB / 0.7382 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.5127, allocations: 120 kB / 0.7383 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008957/0.5136, allocations: 491.5 kB / 0.7387 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5139, allocations: 306.9 kB / 0.739 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.5144, allocations: 0.5943 MB / 0.7396 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.5164, allocations: 1.76 MB / 0.7413 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5164, allocations: 0 / 0.7413 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5164, allocations: 0 / 0.7413 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5164, allocations: 4 kB / 0.7413 GB, free: 9.961 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.002459/0.5189, allocations: 1.567 MB / 0.7429 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5189, allocations: 8.031 kB / 0.7429 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008998/0.5199, allocations: 203.2 kB / 0.7431 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.5212, allocations: 0.8867 MB / 0.7439 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.107e-05/0.5212, allocations: 69.94 kB / 0.744 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5214, allocations: 96 kB / 0.7441 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.5229, allocations: 0.9652 MB / 0.745 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5229, allocations: 4 kB / 0.745 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.523, allocations: 40 kB / 0.7451 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.523, allocations: 24 kB / 0.7451 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.5247, allocations: 1.112 MB / 0.7462 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.5288, allocations: 2.659 MB / 0.7488 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.5299, allocations: 0.7059 MB / 0.7495 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.5304, allocations: 266.4 kB / 0.7497 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/0.5305, allocations: 32.58 kB / 0.7498 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/0.5312, allocations: 425.7 kB / 0.7502 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/0.5312, allocations: 0 / 0.7502 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.2775/0.8087, allocations: 1.069 MB / 0.7512 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.8088, allocations: 193.7 kB / 0.7514 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.8101, allocations: 0.7565 MB / 0.7521 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.8102, allocations: 42.2 kB / 0.7522 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.8106, allocations: 493.5 kB / 0.7526 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.8108, allocations: 228.5 kB / 0.7529 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.811, allocations: 142.9 kB / 0.753 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.8111, allocations: 332.7 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.8116, allocations: 231.4 kB / 0.7535 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.8121, allocations: 316.2 kB / 0.7538 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.8131, allocations: 0.5453 MB / 0.7544 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8131, allocations: 0.5625 kB / 0.7544 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001943/0.8151, allocations: 0.7735 MB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.8151, allocations: 6.578 kB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8151, allocations: 0.6875 kB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.8157, allocations: 89.98 kB / 0.7552 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.8164, allocations: 143.6 kB / 0.7554 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.8184, allocations: 1.65 MB / 0.757 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.819, allocations: 82.47 kB / 0.757 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.8191, allocations: 32.22 kB / 0.7571 GB, free: 163.6 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.0004533/0.8195, allocations: 275.2 kB / 0.7573 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.8197, allocations: 100.6 kB / 0.7574 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.822, allocations: 0.9675 MB / 0.7584 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.822, allocations: 12.31 kB / 0.7584 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.822, allocations: 0 / 0.7584 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.822, allocations: 5.531 kB / 0.7584 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.8232, allocations: 0.9339 MB / 0.7593 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8232, allocations: 0.5 kB / 0.7593 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.8238, allocations: 135 kB / 0.7594 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.8242, allocations: 77.86 kB / 0.7595 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.8243, allocations: 21.05 kB / 0.7595 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.8259, allocations: 1.678 MB / 0.7612 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8259, allocations: 0 / 0.7612 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.8275, allocations: 0.8406 MB / 0.762 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.8279, allocations: 272.7 kB / 0.7622 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.828, allocations: 12.91 kB / 0.7623 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.8284, allocations: 54.34 kB / 0.7623 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8286, allocations: 63.42 kB / 0.7624 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.8286, allocations: 27.86 kB / 0.7624 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005897/0.8292, allocations: 0.5276 MB / 0.7629 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8292, allocations: 0 / 0.7629 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008018/0.83, allocations: 318.8 kB / 0.7632 GB, free: 159.7 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.001192/0.8312, allocations: 0.5951 MB / 0.7638 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.8326, allocations: 0.7414 MB / 0.7645 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8326, allocations: 4.016 kB / 0.7645 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.8334, allocations: 479.5 kB / 0.765 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.8347, allocations: 452.1 kB / 0.7654 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.838, allocations: 1.909 MB / 0.7673 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.8384, allocations: 1.075 MB / 0.7683 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006491/0.8391, allocations: 283.9 kB / 0.7686 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.8393, allocations: 104.7 kB / 0.7687 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.8393, allocations: 0 / 0.7687 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01931/0.8586, allocations: 15.86 MB / 0.7842 GB, free: 141.3 MB / 0.5762 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)