Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0007073/0.0007073, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001739, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007449/0.0007449, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001774, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9271/0.9271, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08391/1.011, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 236.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.003753, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7252/0.7252, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07767/0.8029, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.369e-05, allocations: 2.312 kB / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3819/0.3819, allocations: 161.3 MB / 0.5756 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007649/0.3895, allocations: 5.559 MB / 0.581 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.3909, allocations: 75.38 kB / 0.5811 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.3923, allocations: 0.5779 MB / 0.5816 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.395, allocations: 1.249 MB / 0.5829 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.398, allocations: 1.643 MB / 0.5845 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003267/0.4013, allocations: 2.679 MB / 0.5871 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.4027, allocations: 0.9755 MB / 0.588 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.4049, allocations: 1.468 MB / 0.5895 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.4062, allocations: 0.7693 MB / 0.5902 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.4065, allocations: 104 kB / 0.5903 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.4083, allocations: 1.017 MB / 0.5913 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.4086, allocations: 347 kB / 0.5916 GB, free: 14.57 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.409, allocations: 367.3 kB / 0.592 GB, free: 14.21 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.4107, allocations: 1.352 MB / 0.5933 GB, free: 12.86 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.4107, allocations: 0 / 0.5933 GB, free: 12.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4107, allocations: 4 kB / 0.5933 GB, free: 12.85 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.442e-05/0.4108, allocations: 4 kB / 0.5933 GB, free: 12.85 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002023/0.4128, allocations: 1.67 MB / 0.5949 GB, free: 11.15 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4128, allocations: 12.69 kB / 0.595 GB, free: 11.14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.4136, allocations: 376.5 kB / 0.5953 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.4145, allocations: 0.7038 MB / 0.596 GB, free: 10.02 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.4147, allocations: 299.5 kB / 0.5963 GB, free: 9.676 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.4148, allocations: 88 kB / 0.5964 GB, free: 9.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.4154, allocations: 0.6388 MB / 0.597 GB, free: 8.91 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4154, allocations: 4 kB / 0.597 GB, free: 8.906 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.4155, allocations: 41.42 kB / 0.597 GB, free: 8.871 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4155, allocations: 20 kB / 0.5971 GB, free: 8.852 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.4158, allocations: 238.9 kB / 0.5973 GB, free: 8.617 MB / 0.573 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.002277/0.4181, allocations: 2.167 MB / 0.5994 GB, free: 6.391 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.4183, allocations: 116.1 kB / 0.5995 GB, free: 6.266 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.4183, allocations: 47.66 kB / 0.5996 GB, free: 6.215 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.4185, allocations: 91.94 kB / 0.5996 GB, free: 6.125 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.4186, allocations: 44.11 kB / 0.5997 GB, free: 6.074 MB / 0.573 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.4186, allocations: 0 / 0.5997 GB, free: 6.074 MB / 0.573 GB Notification: Performance of matching and sorting (n=24): time 0.0003798/0.4189, allocations: 189.5 kB / 0.5999 GB, free: 5.883 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.419, allocations: 55.41 kB / 0.5999 GB, free: 5.816 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.4194, allocations: 0.5817 MB / 0.6005 GB, free: 5.227 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.4194, allocations: 33.7 kB / 0.6005 GB, free: 5.188 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.4198, allocations: 465.4 kB / 0.601 GB, free: 4.727 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.4199, allocations: 99.14 kB / 0.6011 GB, free: 4.629 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.42, allocations: 90.11 kB / 0.6011 GB, free: 4.531 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4201, allocations: 386.6 kB / 0.6015 GB, free: 4.145 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.4201, allocations: 31.81 kB / 0.6015 GB, free: 4.113 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.4205, allocations: 0.6255 MB / 0.6022 GB, free: 3.297 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.4209, allocations: 332 kB / 0.6025 GB, free: 2.883 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4209, allocations: 7.938 kB / 0.6025 GB, free: 2.875 MB / 0.573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003392/0.4212, allocations: 296.3 kB / 0.6028 GB, free: 2.578 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4213, allocations: 8 kB / 0.6028 GB, free: 2.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4213, allocations: 4 kB / 0.6028 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4213, allocations: 8 kB / 0.6028 GB, free: 2.559 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4215, allocations: 103.8 kB / 0.6029 GB, free: 2.457 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4215, allocations: 19.92 kB / 0.6029 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.4217, allocations: 51.62 kB / 0.603 GB, free: 2.387 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.4218, allocations: 20 kB / 0.603 GB, free: 2.367 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0001423/0.4219, allocations: 144.5 kB / 0.6031 GB, free: 2.215 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.422, allocations: 48.02 kB / 0.6032 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.4223, allocations: 244 kB / 0.6034 GB, free: 1.918 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4223, allocations: 4.875 kB / 0.6034 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4223, allocations: 0 / 0.6034 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4223, allocations: 7.922 kB / 0.6034 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.4232, allocations: 0.9111 MB / 0.6043 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4232, allocations: 7.938 kB / 0.6043 GB, free: 0.8867 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.4233, allocations: 49.11 kB / 0.6043 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4234, allocations: 91.42 kB / 0.6044 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4234, allocations: 12 kB / 0.6044 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4234, allocations: 8 kB / 0.6044 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.4234, allocations: 8 kB / 0.6045 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.4235, allocations: 9.125 kB / 0.6045 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.4237, allocations: 453.3 kB / 0.6049 GB, free: 184 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.4238, allocations: 8 kB / 0.6049 GB, free: 176 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4239, allocations: 12 kB / 0.6049 GB, free: 164 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.424, allocations: 27.84 kB / 0.6049 GB, free: 136 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.424, allocations: 19.98 kB / 0.605 GB, free: 116 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000236/0.4242, allocations: 276.5 kB / 0.6052 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.4242, allocations: 0 / 0.6052 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000617/0.4248, allocations: 311 kB / 0.6055 GB, free: 15.54 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003384/0.4252, allocations: 231.8 kB / 0.6057 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.4254, allocations: 188.2 kB / 0.6059 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/0.4254, allocations: 12 kB / 0.6059 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4256, allocations: 99.89 kB / 0.606 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.4269, allocations: 1.747 MB / 0.6077 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.4329, allocations: 1.524 MB / 0.6092 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.433, allocations: 209.6 kB / 0.6094 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003031/0.4333, allocations: 106.2 kB / 0.6095 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.4337, allocations: 231.1 kB / 0.6097 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of SimCode: time 1.142e-06/0.4337, allocations: 0 / 0.6097 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Templates: time 0.01767/0.4513, allocations: 12.81 MB / 0.6223 GB, free: 14.46 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8977121114730835]