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: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001982/0.001981, allocations: 192.8 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.403/2.403, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.257/1.257, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 62.64 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1852, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01179/0.1971, allocations: 5.599 MB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.9034/1.1, allocations: 150.9 MB / 0.7844 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/1.103, allocations: 23.92 kB / 0.7844 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/1.105, allocations: 363.4 kB / 0.7847 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/1.118, allocations: 0.5616 MB / 0.7853 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005082/1.123, allocations: 0.8754 MB / 0.7861 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008821/1.132, allocations: 1.56 MB / 0.7877 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/1.135, allocations: 0.772 MB / 0.7884 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/1.137, allocations: 0.5323 MB / 0.7889 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005801/1.142, allocations: 0.5766 MB / 0.7895 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008526/1.143, allocations: 132 kB / 0.7896 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/1.146, allocations: 0.4887 MB / 0.7901 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/1.147, allocations: 335.7 kB / 0.7904 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/1.149, allocations: 0.6625 MB / 0.7911 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/1.16, allocations: 1.915 MB / 0.7929 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/1.16, allocations: 4 kB / 0.793 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.775e-06/1.16, allocations: 0 / 0.793 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001058/1.16, allocations: 0 / 0.793 GB, free: 12.63 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.01194/1.172, allocations: 1.693 MB / 0.7946 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/1.172, allocations: 9.719 kB / 0.7946 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000662/1.173, allocations: 157 kB / 0.7948 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.175, allocations: 215.6 kB / 0.795 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/1.178, allocations: 0.9156 MB / 0.7959 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/1.178, allocations: 73.12 kB / 0.7959 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/1.178, allocations: 99.34 kB / 0.796 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/1.182, allocations: 1.03 MB / 0.797 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/1.183, allocations: 0 / 0.797 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/1.183, allocations: 39.5 kB / 0.7971 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/1.183, allocations: 24.97 kB / 0.7971 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003314/1.186, allocations: 1.17 MB / 0.7982 GB, free: 11.05 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.01434/1.2, allocations: 3.008 MB / 0.8012 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/1.203, allocations: 0.787 MB / 0.8019 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/1.204, allocations: 309 kB / 0.8022 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/1.205, allocations: 36.23 kB / 0.8023 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.206, allocations: 492.1 kB / 0.8027 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 1.057e-05/1.206, allocations: 5.5 kB / 0.8028 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.006016/1.212, allocations: 1.204 MB / 0.8039 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/1.213, allocations: 194.6 kB / 0.8041 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/1.215, allocations: 0.8005 MB / 0.8049 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/1.215, allocations: 43.83 kB / 0.8049 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000731/1.216, allocations: 0.5079 MB / 0.8054 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/1.216, allocations: 251.1 kB / 0.8057 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004733/1.217, allocations: 143.5 kB / 0.8058 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.217, allocations: 338.9 kB / 0.8061 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/1.229, allocations: 248.1 kB / 0.8064 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/1.23, allocations: 352.4 kB / 0.8067 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/1.232, allocations: 0.5776 MB / 0.8073 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.233, allocations: 2.781 kB / 0.8073 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003987/1.237, allocations: 0.8126 MB / 0.8081 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.237, allocations: 5.688 kB / 0.8081 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.237, allocations: 1.781 kB / 0.8081 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.238, allocations: 88.77 kB / 0.8082 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.239, allocations: 146.8 kB / 0.8083 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/1.243, allocations: 1.647 MB / 0.8099 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.244, allocations: 93.66 kB / 0.81 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/1.244, allocations: 27.7 kB / 0.81 GB, free: 5.324 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: 15 (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 (84): * Single equations (assignments): 83 * 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.001124/1.246, allocations: 290.7 kB / 0.8103 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007538/1.246, allocations: 99 kB / 0.8104 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/1.252, allocations: 1.071 MB / 0.8114 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.252, allocations: 7.969 kB / 0.8114 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.252, allocations: 3.938 kB / 0.8114 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/1.252, allocations: 6.172 kB / 0.8115 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/1.255, allocations: 1.014 MB / 0.8124 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/1.255, allocations: 3.75 kB / 0.8124 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.256, allocations: 140.4 kB / 0.8126 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007998/1.257, allocations: 78.69 kB / 0.8127 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/1.257, allocations: 22.67 kB / 0.8127 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/1.26, allocations: 1.674 MB / 0.8143 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.26, allocations: 0 / 0.8143 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/1.266, allocations: 0.9469 MB / 0.8152 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.267, allocations: 292 kB / 0.8155 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/1.268, allocations: 19.31 kB / 0.8155 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.269, allocations: 62.11 kB / 0.8156 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.269, allocations: 63.25 kB / 0.8157 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/1.27, allocations: 42.75 kB / 0.8157 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006302/1.276, allocations: 0.564 MB / 0.8162 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.182e-06/1.276, allocations: 0 / 0.8162 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002313/1.278, allocations: 333.7 kB / 0.8166 GB, free: 0.6992 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.0111/1.289, allocations: 1.993 MB / 0.8185 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.293, allocations: 0.7894 MB / 0.8193 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.293, allocations: 2.75 kB / 0.8193 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/1.295, allocations: 0.5222 MB / 0.8198 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.299, allocations: 472.8 kB / 0.8202 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/1.332, allocations: 6.962 MB / 0.827 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.333, allocations: 1.098 MB / 0.8281 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002088/1.335, allocations: 293.6 kB / 0.8284 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.337, allocations: 469.2 kB / 0.8288 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of SimCode: time 1.633e-06/1.337, allocations: 4 kB / 0.8288 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/1.546, allocations: 26.22 MB / 0.8545 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.91/22.45, allocations: 6.516 kB / 0.8545 GB, free: 15.25 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)