Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001285/0.001285, allocations: 117.9 kB / 17.09 MB, free: 5.992 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.001253/0.001253, allocations: 197.9 kB / 18.02 MB, free: 5.066 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.409/1.409, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.88 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007822/0.1634, allocations: 5.598 MB / 0.6382 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5905/0.7539, allocations: 150.9 MB / 0.7855 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7552, allocations: 22.47 kB / 0.7855 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.7562, allocations: 368.2 kB / 0.7859 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.7581, allocations: 0.567 MB / 0.7865 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.7601, allocations: 0.8774 MB / 0.7873 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.7618, allocations: 1.554 MB / 0.7888 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.7629, allocations: 0.7733 MB / 0.7896 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/0.7638, allocations: 0.5396 MB / 0.7901 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006727/0.7645, allocations: 0.5686 MB / 0.7907 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.7647, allocations: 131.5 kB / 0.7908 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.7657, allocations: 0.4969 MB / 0.7913 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.766, allocations: 336.9 kB / 0.7916 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.7665, allocations: 0.661 MB / 0.7922 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.7685, allocations: 1.914 MB / 0.7941 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7686, allocations: 0 / 0.7941 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7686, allocations: 0 / 0.7941 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.7686, allocations: 0 / 0.7941 GB, free: 12.84 MB / 0.5919 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.002656/0.7713, allocations: 1.677 MB / 0.7957 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7713, allocations: 14.5 kB / 0.7958 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009376/0.7723, allocations: 223.8 kB / 0.796 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.7735, allocations: 0.9049 MB / 0.7969 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.7736, allocations: 73.38 kB / 0.7969 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7737, allocations: 93.81 kB / 0.797 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.7755, allocations: 1.038 MB / 0.798 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.7755, allocations: 0 / 0.798 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.7756, allocations: 44.25 kB / 0.7981 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.7756, allocations: 25.12 kB / 0.7981 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.7774, allocations: 1.172 MB / 0.7992 GB, free: 11.3 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.7816, allocations: 3.003 MB / 0.8022 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.7829, allocations: 0.7957 MB / 0.803 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.7834, allocations: 295 kB / 0.8032 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-05/0.7835, allocations: 34.75 kB / 0.8033 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.7844, allocations: 498 kB / 0.8037 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.7844, allocations: 2.125 kB / 0.8037 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002989/0.7874, allocations: 1.209 MB / 0.8049 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.7875, allocations: 187.4 kB / 0.8051 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.7885, allocations: 0.7988 MB / 0.8059 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.7886, allocations: 49.36 kB / 0.8059 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.789, allocations: 0.4998 MB / 0.8064 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.7892, allocations: 252.3 kB / 0.8067 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.7894, allocations: 158.4 kB / 0.8068 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7895, allocations: 342.5 kB / 0.8071 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.7901, allocations: 268 kB / 0.8074 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.7907, allocations: 363.4 kB / 0.8077 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7917, allocations: 0.6041 MB / 0.8083 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7917, allocations: 0 / 0.8083 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001937/0.7937, allocations: 0.8632 MB / 0.8092 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7937, allocations: 4.969 kB / 0.8092 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7937, allocations: 3.938 kB / 0.8092 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.7943, allocations: 81.03 kB / 0.8093 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.795, allocations: 160 kB / 0.8094 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.7971, allocations: 1.642 MB / 0.811 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.798, allocations: 96.53 kB / 0.8111 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.7981, allocations: 38.56 kB / 0.8111 GB, free: 5.586 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: 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.0005906/0.7987, allocations: 291.7 kB / 0.8114 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.7989, allocations: 102.6 kB / 0.8115 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.8012, allocations: 1.07 MB / 0.8126 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8012, allocations: 10.19 kB / 0.8126 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.8012, allocations: 0 / 0.8126 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.8012, allocations: 11.91 kB / 0.8126 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.8024, allocations: 1.006 MB / 0.8136 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8024, allocations: 0 / 0.8136 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.803, allocations: 148.1 kB / 0.8137 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.8034, allocations: 77.69 kB / 0.8138 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.8035, allocations: 23.77 kB / 0.8138 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.8054, allocations: 1.668 MB / 0.8154 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8054, allocations: 0 / 0.8154 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.8074, allocations: 0.9473 MB / 0.8164 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.8078, allocations: 287.5 kB / 0.8166 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.8079, allocations: 18.09 kB / 0.8167 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/0.8086, allocations: 63.59 kB / 0.8167 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.8087, allocations: 66.38 kB / 0.8168 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.8088, allocations: 42.22 kB / 0.8168 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007559/0.8096, allocations: 0.5623 MB / 0.8174 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8096, allocations: 3.938 kB / 0.8174 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009499/0.8105, allocations: 338.3 kB / 0.8177 GB, free: 0.957 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: 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.001428/0.812, allocations: 0.6124 MB / 0.8183 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.8136, allocations: 0.8186 MB / 0.8191 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8136, allocations: 0 / 0.8191 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008872/0.8145, allocations: 0.5203 MB / 0.8196 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.8162, allocations: 472 kB / 0.82 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.8195, allocations: 1.959 MB / 0.822 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.8202, allocations: 1.094 MB / 0.823 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.8205, allocations: 128.9 kB / 0.8231 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.8205, allocations: 0 / 0.8231 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.02948/0.85, allocations: 22.38 MB / 0.845 GB, free: 10.24 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)