Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 158.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00248/0.00248, allocations: 244.9 kB / 259.4 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 2.023 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.468e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4424/0.4424, allocations: 150.4 MB / 0.7937 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006619/0.449, allocations: 5.489 MB / 0.799 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.4492, allocations: 7.938 kB / 0.799 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.4499, allocations: 198.7 kB / 0.7992 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.4502, allocations: 99.3 kB / 0.7993 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4514, allocations: 0.5329 MB / 0.7998 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.452, allocations: 414.6 kB / 0.8002 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.4523, allocations: 84.27 kB / 0.8003 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.4528, allocations: 263.2 kB / 0.8006 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.4531, allocations: 127.6 kB / 0.8007 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.4532, allocations: 16 kB / 0.8007 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.454, allocations: 386.7 kB / 0.8011 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4541, allocations: 71.78 kB / 0.8011 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.4542, allocations: 67.84 kB / 0.8012 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000678/0.4549, allocations: 470.5 kB / 0.8017 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4549, allocations: 0 / 0.8017 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4549, allocations: 0 / 0.8017 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4549, allocations: 0 / 0.8017 GB, free: 1.855 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006328/0.4555, allocations: 461.3 kB / 0.8021 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4555, allocations: 9.344 kB / 0.8021 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.4559, allocations: 47.84 kB / 0.8021 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.4562, allocations: 204.7 kB / 0.8023 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.4565, allocations: 238.1 kB / 0.8026 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.4565, allocations: 24 kB / 0.8026 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.457, allocations: 290 kB / 0.8029 GB, free: 484 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.457, allocations: 8 kB / 0.8029 GB, free: 476 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.457, allocations: 8 kB / 0.8029 GB, free: 468 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.457, allocations: 11.94 kB / 0.8029 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.4574, allocations: 156.6 kB / 0.803 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.4588, allocations: 1.448 MB / 0.8045 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4589, allocations: 170.5 kB / 0.8046 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.459, allocations: 80.14 kB / 0.8047 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.459, allocations: 75.28 kB / 0.8048 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.459, allocations: 109.8 kB / 0.8049 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.459, allocations: 0 / 0.8049 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 9.579e-05/0.4591, allocations: 49.55 kB / 0.8049 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.4592, allocations: 130.7 kB / 0.805 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.4595, allocations: 241.2 kB / 0.8053 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4596, allocations: 25.7 kB / 0.8053 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.4597, allocations: 203.6 kB / 0.8055 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/0.4597, allocations: 4 kB / 0.8055 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.4598, allocations: 41.7 kB / 0.8055 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4599, allocations: 322.8 kB / 0.8058 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.46, allocations: 43.92 kB / 0.8059 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.4602, allocations: 169.1 kB / 0.8061 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.4605, allocations: 196.9 kB / 0.8062 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4605, allocations: 4 kB / 0.8062 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004322/0.4609, allocations: 205.8 kB / 0.8064 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4609, allocations: 8.625 kB / 0.8064 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4609, allocations: 4 kB / 0.8065 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.461, allocations: 7.984 kB / 0.8065 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4611, allocations: 40.55 kB / 0.8065 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4611, allocations: 8 kB / 0.8065 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4614, allocations: 31.72 kB / 0.8065 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.4614, allocations: 15.31 kB / 0.8065 GB, free: 12.44 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 initialization (20): * Single equations (assignments): 20 * 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.0001602/0.4615, allocations: 213 kB / 0.8068 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.4616, allocations: 124.8 kB / 0.8069 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.4617, allocations: 113.5 kB / 0.807 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.399e-05/0.4618, allocations: 176.3 kB / 0.8071 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-05/0.4619, allocations: 188.2 kB / 0.8073 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-05/0.4619, allocations: 180.2 kB / 0.8075 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.4622, allocations: 412.8 kB / 0.8079 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.4623, allocations: 109 kB / 0.808 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.4623, allocations: 109 kB / 0.8081 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.758e-05/0.4624, allocations: 180.2 kB / 0.8083 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.4625, allocations: 176.3 kB / 0.8084 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.632e-05/0.4625, allocations: 184.2 kB / 0.8086 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.387e-05/0.4626, allocations: 176.3 kB / 0.8088 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.4628, allocations: 323.6 kB / 0.8091 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.4629, allocations: 120.9 kB / 0.8092 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.463, allocations: 184.2 kB / 0.8094 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.4631, allocations: 101 kB / 0.8095 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.4632, allocations: 180.2 kB / 0.8097 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.4632, allocations: 113 kB / 0.8098 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000183/0.4634, allocations: 156.5 kB / 0.8099 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.4634, allocations: 0 / 0.8099 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003743/0.4638, allocations: 63.72 kB / 0.81 GB, free: 8.754 MB / 0.6387 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.0002683/0.4641, allocations: 214.4 kB / 0.8102 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4643, allocations: 83.56 kB / 0.8103 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4643, allocations: 0 / 0.8103 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.4643, allocations: 1.25 kB / 0.8103 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4647, allocations: 466.6 kB / 0.8107 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.4653, allocations: 381.7 kB / 0.8111 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.4654, allocations: 132.6 kB / 0.8112 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.4655, allocations: 25.48 kB / 0.8112 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4656, allocations: 12.5 kB / 0.8112 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.4656, allocations: 0 / 0.8112 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.004379/0.47, allocations: 1.175 MB / 0.8124 GB, free: 6.27 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.884837716817856] Failed to read output from testmodel.py, exit status != 0: 0.4783177711069584 0.492610031 0.034638129000000004 Calling exit ...