Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.002391, allocations: 352.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.455/1.455, allocations: 165.8 MB / 182.5 MB, free: 5.41 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.715/3.715, allocations: 410.8 MB / 0.5995 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001696/0.001695, allocations: 194.8 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007352/0.0007354, allocations: 15.94 kB / 0.7423 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3598, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004903/0.3648, allocations: 4.178 MB / 0.8122 GB, free: 24.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5746/0.9394, allocations: 136.5 MB / 0.9456 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.9402, allocations: 25.84 kB / 0.9456 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.9405, allocations: 92.03 kB / 0.9457 GB, free: 1.242 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.9421, allocations: 447.2 kB / 0.9461 GB, free: 1.234 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.9441, allocations: 0.6133 MB / 0.9467 GB, free: 1.195 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.9454, allocations: 1.215 MB / 0.9479 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008492/0.9463, allocations: 0.5679 MB / 0.9484 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.9468, allocations: 325.8 kB / 0.9487 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.9472, allocations: 344 kB / 0.9491 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.9473, allocations: 28.77 kB / 0.9491 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007212/0.948, allocations: 272.1 kB / 0.9494 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.9482, allocations: 174.8 kB / 0.9495 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.9485, allocations: 215.6 kB / 0.9497 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.9498, allocations: 1.222 MB / 0.9509 GB, free: 452 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.856e-06/0.9498, allocations: 0 / 0.9509 GB, free: 452 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.879e-06/0.9498, allocations: 4 kB / 0.9509 GB, free: 448 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.9498, allocations: 0 / 0.9509 GB, free: 448 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002596/0.9524, allocations: 1.318 MB / 0.9522 GB, free: 15.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9525, allocations: 10.5 kB / 0.9522 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.9543, allocations: 214.5 kB / 0.9524 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.957, allocations: 0.8044 MB / 0.9532 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.9572, allocations: 75.41 kB / 0.9533 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.9574, allocations: 87.44 kB / 0.9534 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.9607, allocations: 0.9518 MB / 0.9543 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.9608, allocations: 7.938 kB / 0.9543 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.961, allocations: 38.62 kB / 0.9543 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.9611, allocations: 27.47 kB / 0.9544 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.9648, allocations: 1.11 MB / 0.9555 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.9703, allocations: 2.697 MB / 0.9581 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.9721, allocations: 0.705 MB / 0.9588 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/0.9728, allocations: 271.2 kB / 0.959 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.9729, allocations: 36.98 kB / 0.9591 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008811/0.9738, allocations: 418.5 kB / 0.9595 GB, free: 14.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.989e-06/0.9738, allocations: 0 / 0.9595 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.003436/0.9772, allocations: 1.087 MB / 0.9605 GB, free: 13.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.9774, allocations: 189.7 kB / 0.9607 GB, free: 13.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.9785, allocations: 0.7307 MB / 0.9614 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.9787, allocations: 36.83 kB / 0.9615 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.9791, allocations: 492.2 kB / 0.9619 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.9794, allocations: 234.5 kB / 0.9622 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.9795, allocations: 14.45 kB / 0.9622 GB, free: 13.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.9796, allocations: 327.4 kB / 0.9625 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.9802, allocations: 237.4 kB / 0.9627 GB, free: 12.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.981, allocations: 324.6 kB / 0.963 GB, free: 12.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.9816, allocations: 277.5 kB / 0.9633 GB, free: 12.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-06/0.9817, allocations: 0 / 0.9633 GB, free: 12.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002299/0.984, allocations: 0.779 MB / 0.964 GB, free: 12.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.984, allocations: 6.438 kB / 0.964 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.984, allocations: 4.094 kB / 0.9641 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.9847, allocations: 79.39 kB / 0.9641 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.9855, allocations: 146.9 kB / 0.9643 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.988, allocations: 1.528 MB / 0.9658 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.9888, allocations: 85.47 kB / 0.9658 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.337e-05/0.9889, allocations: 33.62 kB / 0.9659 GB, free: 11.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006004/0.9896, allocations: 278 kB / 0.9661 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.9897, allocations: 91.09 kB / 0.9662 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.9924, allocations: 1.002 MB / 0.9672 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.9925, allocations: 9.406 kB / 0.9672 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-06/0.9925, allocations: 0 / 0.9672 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.9925, allocations: 7.938 kB / 0.9672 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.994, allocations: 0.9127 MB / 0.9681 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.352e-06/0.994, allocations: 3.938 kB / 0.9681 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.9947, allocations: 140.9 kB / 0.9682 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005944/0.9954, allocations: 78.94 kB / 0.9683 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/0.9954, allocations: 21.55 kB / 0.9683 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.9978, allocations: 1.561 MB / 0.9699 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.277e-06/0.9979, allocations: 7.938 kB / 0.9699 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1, allocations: 0.8384 MB / 0.9707 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/1.001, allocations: 292 kB / 0.971 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.001, allocations: 17.98 kB / 0.971 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/1.002, allocations: 70.19 kB / 0.9711 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.002, allocations: 58.92 kB / 0.9711 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/1.002, allocations: 29.42 kB / 0.9711 GB, free: 8.551 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008712/1.003, allocations: 0.5074 MB / 0.9716 GB, free: 8.379 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.003, allocations: 2.844 kB / 0.9716 GB, free: 8.379 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000953/1.004, allocations: 287.8 kB / 0.9719 GB, free: 8.32 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/1.005, allocations: 0.5514 MB / 0.9725 GB, free: 8.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/1.007, allocations: 0.7351 MB / 0.9732 GB, free: 7.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.659e-06/1.007, allocations: 1.719 kB / 0.9732 GB, free: 7.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.009, allocations: 489.6 kB / 0.9736 GB, free: 7.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/1.01, allocations: 395.5 kB / 0.974 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/1.016, allocations: 2.343 MB / 0.9763 GB, free: 6.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/1.017, allocations: 1.09 MB / 0.9774 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001244/1.018, allocations: 269.2 kB / 0.9776 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/1.018, allocations: 105.2 kB / 0.9777 GB, free: 5.215 MB / 490.7 MB Notification: Performance of SimCode: time 2.268e-06/1.018, allocations: 0 / 0.9777 GB, free: 5.215 MB / 490.7 MB Notification: Performance of Templates: time 0.04083/1.059, allocations: 14.38 MB / 0.9918 GB, free: 13.99 MB / 0.4948 GB