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.001019/0.001019, allocations: 96.14 kB / 16.4 MB, free: 6.48 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.001006/0.001006, allocations: 195.8 kB / 17.34 MB, free: 5.754 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7083/0.7083, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.88 kB / 0.5577 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1717, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007239/0.1789, allocations: 5.595 MB / 0.6375 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5295/0.7085, allocations: 150.9 MB / 0.7849 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.71, allocations: 27.81 kB / 0.7849 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009642/0.711, allocations: 361.4 kB / 0.7852 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.7131, allocations: 0.5617 MB / 0.7858 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.715, allocations: 0.8781 MB / 0.7866 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.7166, allocations: 1.563 MB / 0.7882 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.7177, allocations: 0.7567 MB / 0.7889 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.7185, allocations: 0.5418 MB / 0.7894 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.7192, allocations: 0.5756 MB / 0.79 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.7194, allocations: 132 kB / 0.7901 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.7204, allocations: 0.4897 MB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.7207, allocations: 337 kB / 0.7909 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.7214, allocations: 0.6601 MB / 0.7916 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.7239, allocations: 1.916 MB / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7239, allocations: 0 / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7239, allocations: 0 / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.7239, allocations: 0 / 0.7934 GB, free: 12.82 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.002909/0.7269, allocations: 1.683 MB / 0.7951 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.7269, allocations: 10.34 kB / 0.7951 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.7279, allocations: 220.3 kB / 0.7953 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.7294, allocations: 0.9098 MB / 0.7962 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.7294, allocations: 75.33 kB / 0.7963 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.7296, allocations: 101 kB / 0.7964 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.7313, allocations: 1.03 MB / 0.7974 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.7314, allocations: 2.656 kB / 0.7974 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.7315, allocations: 46.94 kB / 0.7974 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.7315, allocations: 24 kB / 0.7974 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.7332, allocations: 1.166 MB / 0.7986 GB, free: 11.28 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.004193/0.7374, allocations: 3.004 MB / 0.8015 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.7388, allocations: 0.7894 MB / 0.8023 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.7392, allocations: 301.2 kB / 0.8026 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.7393, allocations: 36.05 kB / 0.8026 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.7402, allocations: 496.6 kB / 0.8031 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.7402, allocations: 3.938 kB / 0.8031 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002969/0.7432, allocations: 1.202 MB / 0.8042 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7433, allocations: 192.3 kB / 0.8044 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.7442, allocations: 0.7997 MB / 0.8052 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.7443, allocations: 38.77 kB / 0.8053 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.7447, allocations: 0.5049 MB / 0.8057 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.7449, allocations: 256.2 kB / 0.806 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.7451, allocations: 161.7 kB / 0.8061 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7453, allocations: 338.4 kB / 0.8065 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.7458, allocations: 267.9 kB / 0.8067 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.7464, allocations: 360.5 kB / 0.8071 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.7474, allocations: 0.5957 MB / 0.8076 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7474, allocations: 0 / 0.8076 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001877/0.7493, allocations: 0.8647 MB / 0.8085 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.7493, allocations: 5.188 kB / 0.8085 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7493, allocations: 7.156 kB / 0.8085 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.75, allocations: 89.45 kB / 0.8086 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.7506, allocations: 160.8 kB / 0.8087 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.7528, allocations: 1.64 MB / 0.8103 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.7536, allocations: 91.98 kB / 0.8104 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.7537, allocations: 36.28 kB / 0.8105 GB, free: 5.602 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.0005277/0.7543, allocations: 298.8 kB / 0.8107 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7544, allocations: 102.2 kB / 0.8108 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.7568, allocations: 1.074 MB / 0.8119 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.7568, allocations: 11.09 kB / 0.8119 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7568, allocations: 0 / 0.8119 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.7568, allocations: 10.95 kB / 0.8119 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7581, allocations: 1.006 MB / 0.8129 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7581, allocations: 0 / 0.8129 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.7587, allocations: 143.6 kB / 0.813 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.7592, allocations: 78.48 kB / 0.8131 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.7592, allocations: 30.75 kB / 0.8131 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.7612, allocations: 1.671 MB / 0.8148 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7613, allocations: 4 kB / 0.8148 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.7633, allocations: 0.9348 MB / 0.8157 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.7637, allocations: 295.6 kB / 0.816 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.7639, allocations: 17.69 kB / 0.816 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.7645, allocations: 63.09 kB / 0.816 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7646, allocations: 70.02 kB / 0.8161 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.7647, allocations: 34.58 kB / 0.8161 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007794/0.7655, allocations: 0.558 MB / 0.8167 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7655, allocations: 0 / 0.8167 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001111/0.7666, allocations: 346.7 kB / 0.817 GB, free: 0.9609 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.001582/0.7682, allocations: 0.6012 MB / 0.8176 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.77, allocations: 0.8289 MB / 0.8184 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.77, allocations: 0 / 0.8184 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.771, allocations: 0.5202 MB / 0.8189 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.001781/0.7728, allocations: 477.1 kB / 0.8194 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.7765, allocations: 1.907 MB / 0.8212 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.7771, allocations: 1.101 MB / 0.8223 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008436/0.778, allocations: 278.9 kB / 0.8226 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.7782, allocations: 113 kB / 0.8227 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.7782, allocations: 0 / 0.8227 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.03058/0.8088, allocations: 17.86 MB / 0.8401 GB, free: 14.71 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)