Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003937/0.003937, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.0009854/0.0009854, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 286.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 103.8 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1547, allocations: 86.98 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006589/0.1613, allocations: 5.097 MB / 0.7713 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5056/0.6669, allocations: 150.8 MB / 0.9186 GB, free: 6.699 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.6682, allocations: 27.81 kB / 0.9187 GB, free: 6.672 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.6692, allocations: 339.9 kB / 0.919 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.6712, allocations: 0.5286 MB / 0.9195 GB, free: 5.828 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.6738, allocations: 0.8634 MB / 0.9204 GB, free: 4.977 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.6758, allocations: 1.481 MB / 0.9218 GB, free: 3.488 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.677, allocations: 0.8147 MB / 0.9226 GB, free: 2.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007443/0.6777, allocations: 0.5292 MB / 0.9231 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.6785, allocations: 0.5598 MB / 0.9237 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.6787, allocations: 132 kB / 0.9238 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.6798, allocations: 495.6 kB / 0.9243 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.6801, allocations: 338.9 kB / 0.9246 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.6807, allocations: 0.6428 MB / 0.9252 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.683, allocations: 1.891 MB / 0.9271 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.683, allocations: 0 / 0.9271 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/0.683, allocations: 4 kB / 0.9271 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.6831, allocations: 0 / 0.9271 GB, free: 14.07 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00319/0.6863, allocations: 1.667 MB / 0.9287 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.6863, allocations: 8.031 kB / 0.9287 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6874, allocations: 219 kB / 0.9289 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.6888, allocations: 0.9144 MB / 0.9298 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.6889, allocations: 74 kB / 0.9299 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.6891, allocations: 99.98 kB / 0.93 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.691, allocations: 1.024 MB / 0.931 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.6911, allocations: 0 / 0.931 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.77e-05/0.6912, allocations: 51.88 kB / 0.931 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.6912, allocations: 24 kB / 0.931 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.693, allocations: 1.167 MB / 0.9322 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.6972, allocations: 2.792 MB / 0.9349 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.6986, allocations: 0.7968 MB / 0.9357 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.6992, allocations: 298.7 kB / 0.936 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/0.6992, allocations: 32.56 kB / 0.936 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008659/0.7001, allocations: 0.4899 MB / 0.9365 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 5.59e-06/0.7001, allocations: 3.984 kB / 0.9365 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.003121/0.7033, allocations: 1.201 MB / 0.9377 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.7034, allocations: 192.6 kB / 0.9378 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009647/0.7043, allocations: 0.7951 MB / 0.9386 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.7044, allocations: 49.7 kB / 0.9387 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.7048, allocations: 0.5039 MB / 0.9392 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.705, allocations: 248.5 kB / 0.9394 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.7053, allocations: 158.5 kB / 0.9395 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7054, allocations: 337.9 kB / 0.9399 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.7059, allocations: 269.9 kB / 0.9401 GB, free: 348 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.7065, allocations: 363 kB / 0.9405 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.7076, allocations: 0.5995 MB / 0.9411 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7076, allocations: 4 kB / 0.9411 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001884/0.7095, allocations: 0.868 MB / 0.9419 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.7095, allocations: 4 kB / 0.9419 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7095, allocations: 0 / 0.9419 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.7101, allocations: 84.88 kB / 0.942 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.7108, allocations: 163.7 kB / 0.9421 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.7128, allocations: 1.639 MB / 0.9437 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.7136, allocations: 91.34 kB / 0.9438 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.7137, allocations: 37.11 kB / 0.9439 GB, free: 12.32 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0004904/0.7142, allocations: 299.6 kB / 0.9442 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.7143, allocations: 102.7 kB / 0.9443 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.7166, allocations: 1.074 MB / 0.9453 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7167, allocations: 8 kB / 0.9453 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.7167, allocations: 0 / 0.9453 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7167, allocations: 7.922 kB / 0.9453 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.7177, allocations: 0.9973 MB / 0.9463 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.7177, allocations: 0 / 0.9463 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.7183, allocations: 143.8 kB / 0.9464 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/0.7187, allocations: 81.66 kB / 0.9465 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.7188, allocations: 23.98 kB / 0.9465 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.7206, allocations: 1.674 MB / 0.9482 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7206, allocations: 0 / 0.9482 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.7225, allocations: 0.9393 MB / 0.9491 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.7229, allocations: 295.4 kB / 0.9494 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.723, allocations: 16 kB / 0.9494 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.7237, allocations: 68.77 kB / 0.9494 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.7238, allocations: 64.91 kB / 0.9495 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.7239, allocations: 40.03 kB / 0.9495 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006653/0.7246, allocations: 0.5576 MB / 0.9501 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7246, allocations: 0 / 0.9501 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007694/0.7253, allocations: 339 kB / 0.9504 GB, free: 5.348 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001245/0.7266, allocations: 0.6058 MB / 0.951 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.7282, allocations: 0.8285 MB / 0.9518 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7282, allocations: 0 / 0.9518 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.7291, allocations: 0.5158 MB / 0.9523 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.7307, allocations: 467.7 kB / 0.9528 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.7347, allocations: 2.015 MB / 0.9547 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.7354, allocations: 1.098 MB / 0.9558 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008621/0.7363, allocations: 291.5 kB / 0.9561 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.7366, allocations: 107.4 kB / 0.9562 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.7366, allocations: 0 / 0.9562 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.027/0.7636, allocations: 17.14 MB / 0.9729 GB, free: 14.59 MB / 0.7325 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)