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.001745/0.001745, allocations: 81.47 kB / 19.76 MB, free: 2.02 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.002182/0.002182, allocations: 153.2 kB / 23 MB, free: 4.969 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.002464/0.002464, allocations: 240.1 kB / 260 MB, free: 432 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 0.9185/0.9185, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 100.4 kB / 0.6474 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4409, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2721/0.713, allocations: 222.2 MB / 0.9575 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02737/0.7404, allocations: 20.56 MB / 0.9776 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.7419, allocations: 71.38 kB / 0.9777 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.7445, allocations: 0.9821 MB / 0.9786 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.7486, allocations: 1.517 MB / 0.9801 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004906/0.7535, allocations: 1.97 MB / 0.982 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.7571, allocations: 2.682 MB / 0.9846 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.7586, allocations: 0.9579 MB / 0.9856 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.7611, allocations: 1.397 MB / 0.9869 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.7625, allocations: 0.8948 MB / 0.9878 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.7627, allocations: 111.9 kB / 0.9879 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.7657, allocations: 1.414 MB / 0.9893 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.7661, allocations: 394.7 kB / 0.9897 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005888/0.7666, allocations: 0.5134 MB / 0.9902 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.7696, allocations: 2.3 MB / 0.9924 GB, free: 4 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7696, allocations: 0 / 0.9924 GB, free: 4 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7696, allocations: 0 / 0.9924 GB, free: 4 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.7696, allocations: 0 / 0.9924 GB, free: 4 kB / 0.8106 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.3667/1.136, allocations: 1.427 MB / 0.9938 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.136, allocations: 10.81 kB / 0.9938 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/1.137, allocations: 230.6 kB / 0.994 GB, free: 237.3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.139, allocations: 0.8432 MB / 0.9949 GB, free: 236.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.139, allocations: 290.6 kB / 0.9951 GB, free: 236.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.139, allocations: 90.88 kB / 0.9952 GB, free: 236.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.141, allocations: 0.9316 MB / 0.9961 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/1.141, allocations: 9.094 kB / 0.9962 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/1.141, allocations: 39.34 kB / 0.9962 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/1.141, allocations: 22.53 kB / 0.9962 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.142, allocations: 0.6259 MB / 0.9968 GB, free: 235.9 MB / 0.8106 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.003285/1.145, allocations: 2.632 MB / 0.9994 GB, free: 234.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/1.146, allocations: 179.3 kB / 0.9996 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/1.146, allocations: 138.8 kB / 0.9997 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/1.146, allocations: 120.7 kB / 0.9998 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/1.146, allocations: 37.31 kB / 0.9998 GB, free: 234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 1.903e-06/1.146, allocations: 3.969 kB / 0.9998 GB, free: 234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.0009583/1.147, allocations: 446.1 kB / 1 GB, free: 233.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/1.147, allocations: 54.77 kB / 1 GB, free: 233.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/1.148, allocations: 0.7026 MB / 1.001 GB, free: 233.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/1.148, allocations: 32.67 kB / 1.001 GB, free: 233.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/1.148, allocations: 0.5467 MB / 1.002 GB, free: 233 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/1.148, allocations: 90.14 kB / 1.002 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.149, allocations: 105.1 kB / 1.002 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/1.149, allocations: 375.2 kB / 1.002 GB, free: 232.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/1.149, allocations: 129.8 kB / 1.002 GB, free: 232.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/1.149, allocations: 0.7316 MB / 1.003 GB, free: 231.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/1.15, allocations: 469.5 kB / 1.003 GB, free: 231.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.15, allocations: 1.062 kB / 1.003 GB, free: 231.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008266/1.151, allocations: 0.5127 MB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.151, allocations: 16.09 kB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.151, allocations: 5.906 kB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.151, allocations: 9.094 kB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/1.151, allocations: 87.41 kB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.151, allocations: 20.3 kB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/1.152, allocations: 45.09 kB / 1.004 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/1.152, allocations: 22.33 kB / 1.004 GB, free: 231.1 MB / 0.8106 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.0003016/1.152, allocations: 288 kB / 1.004 GB, free: 230.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.152, allocations: 73.19 kB / 1.004 GB, free: 230.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/1.153, allocations: 406.6 kB / 1.005 GB, free: 230.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.153, allocations: 7.453 kB / 1.005 GB, free: 230.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.153, allocations: 8.562 kB / 1.005 GB, free: 230.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.153, allocations: 1.781 kB / 1.005 GB, free: 230.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/1.155, allocations: 1.332 MB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.155, allocations: 4.656 kB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/1.155, allocations: 39.94 kB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.155, allocations: 6.906 kB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/1.155, allocations: 10.78 kB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/1.155, allocations: 14.91 kB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.155, allocations: 9.781 kB / 1.006 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/1.155, allocations: 0.5394 MB / 1.007 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/1.155, allocations: 119.1 kB / 1.007 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/1.156, allocations: 11.2 kB / 1.007 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.156, allocations: 13.16 kB / 1.007 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/1.156, allocations: 32.12 kB / 1.007 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/1.156, allocations: 15.23 kB / 1.007 GB, free: 229.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005143/1.156, allocations: 490 kB / 1.007 GB, free: 229.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.156, allocations: 0 / 1.007 GB, free: 229.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008801/1.157, allocations: 324.9 kB / 1.008 GB, free: 229 MB / 0.8106 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.0004027/1.158, allocations: 309.1 kB / 1.008 GB, free: 228.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005122/1.158, allocations: 336.1 kB / 1.008 GB, free: 228.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.158, allocations: 1.375 kB / 1.008 GB, free: 228.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/1.158, allocations: 136.5 kB / 1.008 GB, free: 228.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.16, allocations: 269.2 kB / 1.009 GB, free: 228.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/1.161, allocations: 1.555 MB / 1.01 GB, free: 227.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/1.162, allocations: 478.5 kB / 1.011 GB, free: 227.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004724/1.162, allocations: 143.9 kB / 1.011 GB, free: 227.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/1.163, allocations: 49.83 kB / 1.011 GB, free: 227.6 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/1.163, allocations: 0 / 1.011 GB, free: 227.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.02016/1.183, allocations: 11.89 MB / 1.022 GB, free: 222.5 MB / 0.8106 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.980769855086692] Failed to read output from testmodel.py, exit status != 0: 1.1904019200010225 1.20089734 0.42878195900000005 Calling exit ...