Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom",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.001433/0.001433, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 66.19 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2083, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003054/0.2114, allocations: 1.784 MB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2135, allocations: 1.628 MB / 0.787 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.2135, allocations: 7.875 kB / 0.787 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2137, allocations: 27.78 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2138, allocations: 19.8 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function 'Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange' contains a call to impure function 'Modelica.Utilities.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.2144, allocations: 227.3 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.2147, allocations: 215.5 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2148, allocations: 58.12 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.215, allocations: 91.67 kB / 0.7876 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2151, allocations: 75.73 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2151, allocations: 8 kB / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.2155, allocations: 219.6 kB / 0.7879 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.2155, allocations: 67.81 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.2156, allocations: 87.53 kB / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.216, allocations: 359 kB / 0.7884 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.216, allocations: 4 kB / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.216, allocations: 0 / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.216, allocations: 0 / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008157/0.2168, allocations: 0.5572 MB / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2169, allocations: 8.031 kB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.2169, allocations: 50.73 kB / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.217, allocations: 24.66 kB / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2172, allocations: 236.7 kB / 0.7892 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.2172, allocations: 24.11 kB / 0.7892 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.2173, allocations: 16 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.2176, allocations: 193.9 kB / 0.7894 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2176, allocations: 0 / 0.7894 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2176, allocations: 8 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2176, allocations: 0 / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.2179, allocations: 119.9 kB / 0.7896 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.219, allocations: 0.5548 MB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.2197, allocations: 262.4 kB / 0.7903 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2199, allocations: 91.25 kB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2199, allocations: 0 / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.2202, allocations: 155.3 kB / 0.7906 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.2202, allocations: 0 / 0.7906 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005901/0.2208, allocations: 344.2 kB / 0.7909 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2208, allocations: 75.31 kB / 0.791 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.221, allocations: 179.1 kB / 0.7912 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.221, allocations: 41.69 kB / 0.7912 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.2211, allocations: 124.5 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.2212, allocations: 67.11 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.2212, allocations: 69.47 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.2213, allocations: 338.8 kB / 0.7918 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2215, allocations: 91.94 kB / 0.7919 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.2218, allocations: 228.9 kB / 0.7921 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.2221, allocations: 332 kB / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2221, allocations: 4 kB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005138/0.2227, allocations: 364.9 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2227, allocations: 8.938 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2227, allocations: 4.469 kB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2227, allocations: 8 kB / 0.7928 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2229, allocations: 63.78 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2229, allocations: 4 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2231, allocations: 43.73 kB / 0.7929 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2231, allocations: 12 kB / 0.7929 GB, free: 3.422 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.2233, allocations: 184.6 kB / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.2233, allocations: 19.8 kB / 0.7931 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.2233, allocations: 17.88 kB / 0.7931 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.2234, allocations: 7.938 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2234, allocations: 0 / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2234, allocations: 0 / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.2242, allocations: 0.6351 MB / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2242, allocations: 4 kB / 0.7937 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2243, allocations: 15.98 kB / 0.7937 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2243, allocations: 3.938 kB / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.2244, allocations: 7.984 kB / 0.7937 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2244, allocations: 7.938 kB / 0.7938 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2244, allocations: 0 / 0.7938 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.225, allocations: 479 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.225, allocations: 92.86 kB / 0.7943 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.2251, allocations: 19.97 kB / 0.7943 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2252, allocations: 15.97 kB / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2253, allocations: 15.98 kB / 0.7944 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2253, allocations: 11.98 kB / 0.7944 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.2254, allocations: 144.3 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2254, allocations: 0 / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003793/0.2258, allocations: 107.8 kB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.2271, allocations: 1.214 MB / 0.7958 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.2275, allocations: 244 kB / 0.796 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2275, allocations: 4 kB / 0.796 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2277, allocations: 91.89 kB / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.228, allocations: 30.27 kB / 0.7961 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.2307, allocations: 2.758 MB / 0.7988 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.231, allocations: 0.7402 MB / 0.7996 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.2311, allocations: 49.91 kB / 0.7996 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.2312, allocations: 59.42 kB / 0.7997 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2312, allocations: 0 / 0.7997 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2522, allocations: 5.399 MB / 0.8049 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.22, allocations: 14.8 kB / 0.8049 GB, free: 6.879 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom.fmu > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)