Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7903/0.7903, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 187.2 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.7 MB / 450.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009125, allocations: 103.5 kB / 0.5211 GB, free: 1.602 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001649/0.001648, allocations: 286.1 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004366, allocations: 15.06 kB / 0.6948 GB, free: 59.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005284/0.1553, allocations: 4.19 MB / 0.7794 GB, free: 10.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5244/0.6798, allocations: 140.6 MB / 0.9167 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.6806, allocations: 26.19 kB / 0.9167 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.6813, allocations: 281.7 kB / 0.917 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.6828, allocations: 415.6 kB / 0.9174 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.6851, allocations: 0.7081 MB / 0.9181 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.6869, allocations: 1.253 MB / 0.9193 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.6879, allocations: 0.7748 MB / 0.92 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.6887, allocations: 339.2 kB / 0.9204 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.6892, allocations: 376.5 kB / 0.9207 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-05/0.6893, allocations: 23.94 kB / 0.9208 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.6902, allocations: 347.1 kB / 0.9211 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.6904, allocations: 188.3 kB / 0.9213 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.6909, allocations: 0.4928 MB / 0.9217 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.6925, allocations: 1.609 MB / 0.9233 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6925, allocations: 0 / 0.9233 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6925, allocations: 0 / 0.9233 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.6925, allocations: 1.375 kB / 0.9233 GB, free: 11.03 MB / 0.5573 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.002126/0.6946, allocations: 1.316 MB / 0.9246 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6947, allocations: 9.469 kB / 0.9246 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.6955, allocations: 219.4 kB / 0.9248 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6967, allocations: 0.8557 MB / 0.9257 GB, free: 9.785 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.6968, allocations: 68.25 kB / 0.9257 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6969, allocations: 95.28 kB / 0.9258 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6985, allocations: 0.9631 MB / 0.9268 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6986, allocations: 0 / 0.9268 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.6986, allocations: 43.25 kB / 0.9268 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.6987, allocations: 23.28 kB / 0.9268 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.7005, allocations: 1.12 MB / 0.9279 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.7045, allocations: 2.72 MB / 0.9306 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.706, allocations: 0.7079 MB / 0.9313 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.7065, allocations: 278.3 kB / 0.9315 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.7065, allocations: 36.56 kB / 0.9316 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/0.7073, allocations: 415.8 kB / 0.932 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.956e-06/0.7073, allocations: 4 kB / 0.932 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.002623/0.7099, allocations: 1.085 MB / 0.933 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.71, allocations: 189.3 kB / 0.9332 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.7109, allocations: 0.7451 MB / 0.9339 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.711, allocations: 43.67 kB / 0.934 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.7114, allocations: 492.6 kB / 0.9344 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.7115, allocations: 229.3 kB / 0.9347 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.7116, allocations: 17.88 kB / 0.9347 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7117, allocations: 330.6 kB / 0.935 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.7121, allocations: 232.9 kB / 0.9352 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.7126, allocations: 324.4 kB / 0.9355 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/0.7135, allocations: 0.5465 MB / 0.9361 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7135, allocations: 0.9688 kB / 0.9361 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001622/0.7151, allocations: 0.7792 MB / 0.9368 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7152, allocations: 5.875 kB / 0.9368 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.7152, allocations: 0 / 0.9368 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.7157, allocations: 90.14 kB / 0.9369 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.7163, allocations: 142.9 kB / 0.937 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.7183, allocations: 1.532 MB / 0.9385 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.7189, allocations: 93.23 kB / 0.9386 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.719, allocations: 26.61 kB / 0.9387 GB, free: 4.746 MB / 0.5573 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 ($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 (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.000496/0.7195, allocations: 274.7 kB / 0.9389 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.7196, allocations: 98.77 kB / 0.939 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.7216, allocations: 0.9734 MB / 0.94 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.7217, allocations: 7.969 kB / 0.94 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7217, allocations: 4 kB / 0.94 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7217, allocations: 8.641 kB / 0.94 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.7228, allocations: 0.9285 MB / 0.9409 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7228, allocations: 3.938 kB / 0.9409 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.7233, allocations: 143.3 kB / 0.941 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.7238, allocations: 87.66 kB / 0.9411 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.7239, allocations: 23.77 kB / 0.9411 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.7256, allocations: 1.551 MB / 0.9426 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7256, allocations: 0 / 0.9426 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.7272, allocations: 0.8511 MB / 0.9435 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.7276, allocations: 283.5 kB / 0.9437 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7277, allocations: 14.62 kB / 0.9438 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.7282, allocations: 71.48 kB / 0.9438 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.7283, allocations: 57.28 kB / 0.9439 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.7284, allocations: 33.03 kB / 0.9439 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006265/0.729, allocations: 0.5228 MB / 0.9444 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.729, allocations: 0 / 0.9444 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008618/0.7299, allocations: 313.8 kB / 0.9447 GB, free: 1.66 MB / 0.5573 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.001313/0.7312, allocations: 0.6781 MB / 0.9454 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.7326, allocations: 0.7464 MB / 0.9461 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7326, allocations: 0 / 0.9461 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.7334, allocations: 480.4 kB / 0.9466 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7348, allocations: 407 kB / 0.947 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.7388, allocations: 2.452 MB / 0.9494 GB, free: 15.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.7394, allocations: 1.075 MB / 0.9504 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008871/0.7403, allocations: 278 kB / 0.9507 GB, free: 14.37 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.7405, allocations: 100.9 kB / 0.9508 GB, free: 14.35 MB / 0.573 GB Notification: Performance of SimCode: time 5.51e-07/0.7405, allocations: 0 / 0.9508 GB, free: 14.35 MB / 0.573 GB Notification: Performance of Templates: time 0.0268/0.7673, allocations: 15.23 MB / 0.9656 GB, free: 6.719 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)