Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 109.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.1 MB / 0.7171 GB, free: 4.082 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.88 kB / 1.027 GB, free: 7.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8433, allocations: 151.6 MB / 1.175 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00209/0.8454, allocations: 0.5538 MB / 1.175 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.8473, allocations: 1.197 MB / 1.176 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.8473, allocations: 0 / 1.176 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.8474, allocations: 4 kB / 1.176 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.8475, allocations: 7.984 kB / 1.176 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.8482, allocations: 280.8 kB / 1.177 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.8484, allocations: 75.86 kB / 1.177 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.8484, allocations: 8 kB / 1.177 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.8485, allocations: 43.83 kB / 1.177 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.8486, allocations: 43.84 kB / 1.177 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.8486, allocations: 4 kB / 1.177 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.849, allocations: 203.7 kB / 1.177 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.8491, allocations: 15.92 kB / 1.177 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.8492, allocations: 27.86 kB / 1.177 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.8496, allocations: 261.1 kB / 1.177 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8496, allocations: 0 / 1.177 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8496, allocations: 0 / 1.177 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.8496, allocations: 4 kB / 1.177 GB, free: 0.8125 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005085/0.8501, allocations: 452.4 kB / 1.178 GB, free: 324 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.8502, allocations: 12.62 kB / 1.178 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.8502, allocations: 106 kB / 1.178 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.8503, allocations: 80.22 kB / 1.178 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.8506, allocations: 263.5 kB / 1.178 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.8507, allocations: 154.9 kB / 1.178 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/0.8507, allocations: 158.9 kB / 1.178 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.8508, allocations: 104.9 kB / 1.179 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.8509, allocations: 79.22 kB / 1.179 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.8509, allocations: 154.6 kB / 1.179 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.244e-05/0.851, allocations: 150.6 kB / 1.179 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.14e-05/0.8511, allocations: 150.6 kB / 1.179 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.8515, allocations: 473.9 kB / 1.18 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.8516, allocations: 173.2 kB / 1.18 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.8516, allocations: 84.08 kB / 1.18 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.8517, allocations: 83.2 kB / 1.18 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.8517, allocations: 109.8 kB / 1.18 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 2.716e-06/0.8517, allocations: 4 kB / 1.18 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.8518, allocations: 37.59 kB / 1.18 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.8519, allocations: 126.7 kB / 1.18 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.8521, allocations: 139.5 kB / 1.18 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.8521, allocations: 29.69 kB / 1.18 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.8522, allocations: 92.09 kB / 1.18 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.8522, allocations: 8 kB / 1.18 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.8523, allocations: 41.69 kB / 1.18 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8524, allocations: 314.8 kB / 1.181 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.8526, allocations: 67.88 kB / 1.181 GB, free: 13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.8527, allocations: 64.02 kB / 1.181 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.8528, allocations: 90.52 kB / 1.181 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8529, allocations: 0 / 1.181 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004223/0.8533, allocations: 227.2 kB / 1.181 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.8534, allocations: 52.5 kB / 1.181 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8534, allocations: 4.062 kB / 1.181 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.8534, allocations: 3.984 kB / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.8534, allocations: 0 / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.8534, allocations: 0 / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.8537, allocations: 23.88 kB / 1.181 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.8538, allocations: 15.98 kB / 1.181 GB, free: 12.5 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001392/0.8539, allocations: 205 kB / 1.181 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.854, allocations: 116.9 kB / 1.182 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.8541, allocations: 108.5 kB / 1.182 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-05/0.8542, allocations: 180.2 kB / 1.182 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/0.8542, allocations: 180.2 kB / 1.182 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.139e-05/0.8543, allocations: 188.3 kB / 1.182 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.8546, allocations: 409.2 kB / 1.183 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/0.8547, allocations: 116.9 kB / 1.183 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.8547, allocations: 104.9 kB / 1.183 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.917e-05/0.8548, allocations: 180.2 kB / 1.183 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.8549, allocations: 180.2 kB / 1.183 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.963e-05/0.855, allocations: 184.3 kB / 1.183 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.739e-05/0.855, allocations: 180.3 kB / 1.183 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.8552, allocations: 311.7 kB / 1.184 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.8553, allocations: 197.9 kB / 1.184 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.8554, allocations: 176.3 kB / 1.184 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.8555, allocations: 105 kB / 1.184 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.8556, allocations: 184.2 kB / 1.184 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.8557, allocations: 109 kB / 1.185 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.8557, allocations: 105.9 kB / 1.185 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8557, allocations: 0 / 1.185 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003767/0.8561, allocations: 75.72 kB / 1.185 GB, free: 8.758 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.004224/0.8604, allocations: 1.034 MB / 1.186 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.8607, allocations: 215.3 kB / 1.186 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8608, allocations: 0 / 1.186 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.8608, allocations: 0 / 1.186 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.8612, allocations: 465.3 kB / 1.186 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.8634, allocations: 1.85 MB / 1.188 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.8637, allocations: 0.6846 MB / 1.189 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.772e-05/0.8638, allocations: 43.88 kB / 1.189 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.8639, allocations: 11.44 kB / 1.189 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of SimCode: time 4.81e-07/0.8639, allocations: 0 / 1.189 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.8919, allocations: 3.734 MB / 1.193 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.886, allocations: 5.5 kB / 1.193 GB, free: 0.6992 MB / 0.9044 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.76117993495427] Failed to read output from testmodel.py, exit status != 0: 9.166782496962696 9.191234967 8.337326628 Calling exit ...