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.001497/0.001497, allocations: 78.73 kB / 19.01 MB, free: 2.859 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.001539/0.001539, allocations: 160.3 kB / 22.26 MB, free: 5.105 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.457/1.457, allocations: 177.2 MB / 202.6 MB, free: 9.273 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.00247/0.00247, allocations: 236.1 kB / 259.2 MB, free: 0.5977 MB / 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.041/1.041, allocations: 138.5 MB / 454.2 MB, free: 2.055 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.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.003039/0.003039, allocations: 95.84 kB / 0.6466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4053, allocations: 95.36 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6788/1.084, allocations: 221.8 MB / 0.9563 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02193/1.106, allocations: 20.49 MB / 0.9763 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/1.108, allocations: 74.59 kB / 0.9764 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/1.11, allocations: 0.9794 MB / 0.9774 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/1.114, allocations: 1.521 MB / 0.9789 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004399/1.118, allocations: 1.96 MB / 0.9808 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00311/1.121, allocations: 2.691 MB / 0.9834 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/1.123, allocations: 0.9548 MB / 0.9843 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/1.125, allocations: 1.797 MB / 0.9861 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/1.126, allocations: 0.9046 MB / 0.987 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/1.127, allocations: 110.1 kB / 0.9871 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/1.129, allocations: 1.404 MB / 0.9884 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/1.13, allocations: 391.6 kB / 0.9888 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005532/1.13, allocations: 0.5131 MB / 0.9893 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/1.133, allocations: 2.298 MB / 0.9916 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.133, allocations: 6.562 kB / 0.9916 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/1.133, allocations: 0 / 0.9916 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.161e-05/1.133, allocations: 0 / 0.9916 GB, free: 1.242 MB / 0.7637 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.001847/1.135, allocations: 1.428 MB / 0.993 GB, free: 16.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/1.135, allocations: 10.84 kB / 0.993 GB, free: 16.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009938/1.136, allocations: 235.8 kB / 0.9932 GB, free: 16.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.137, allocations: 0.8461 MB / 0.994 GB, free: 16.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/1.137, allocations: 286 kB / 0.9943 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.137, allocations: 97.12 kB / 0.9944 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.139, allocations: 0.9313 MB / 0.9953 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/1.139, allocations: 0 / 0.9953 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/1.139, allocations: 40.44 kB / 0.9953 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/1.139, allocations: 23.03 kB / 0.9954 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/1.14, allocations: 0.6311 MB / 0.996 GB, free: 15.75 MB / 0.7794 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.003219/1.143, allocations: 2.631 MB / 0.9985 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/1.143, allocations: 186.4 kB / 0.9987 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/1.144, allocations: 133.9 kB / 0.9989 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/1.144, allocations: 130.6 kB / 0.999 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.144, allocations: 38.53 kB / 0.999 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/1.144, allocations: 0.9062 kB / 0.999 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.0009316/1.145, allocations: 436.4 kB / 0.9994 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/1.145, allocations: 61.28 kB / 0.9995 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007662/1.146, allocations: 0.6958 MB / 1 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/1.146, allocations: 33.67 kB / 1 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/1.146, allocations: 0.5486 MB / 1.001 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/1.146, allocations: 87.91 kB / 1.001 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.147, allocations: 98.59 kB / 1.001 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.147, allocations: 382.7 kB / 1.001 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/1.147, allocations: 133 kB / 1.001 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/1.148, allocations: 0.7292 MB / 1.002 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/1.148, allocations: 466.5 kB / 1.003 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/1.148, allocations: 0.8438 kB / 1.003 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000757/1.149, allocations: 0.5193 MB / 1.003 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.149, allocations: 7.5 kB / 1.003 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.149, allocations: 7.531 kB / 1.003 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.149, allocations: 7.5 kB / 1.003 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/1.149, allocations: 85.86 kB / 1.003 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.149, allocations: 12.28 kB / 1.003 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/1.15, allocations: 49.39 kB / 1.003 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/1.15, allocations: 27.97 kB / 1.003 GB, free: 12.56 MB / 0.7794 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.0003797/1.15, allocations: 285.9 kB / 1.004 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.15, allocations: 75.84 kB / 1.004 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/1.151, allocations: 408.5 kB / 1.004 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.151, allocations: 4.438 kB / 1.004 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.151, allocations: 0 / 1.004 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.151, allocations: 3.938 kB / 1.004 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/1.153, allocations: 1.335 MB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.153, allocations: 6.375 kB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/1.153, allocations: 41.41 kB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.153, allocations: 9.25 kB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.153, allocations: 9.641 kB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.153, allocations: 10.19 kB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.153, allocations: 5.75 kB / 1.005 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/1.154, allocations: 0.5467 MB / 1.006 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.154, allocations: 121.8 kB / 1.006 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/1.154, allocations: 15.33 kB / 1.006 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/1.155, allocations: 6.438 kB / 1.006 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/1.155, allocations: 29.78 kB / 1.006 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/1.155, allocations: 19.53 kB / 1.006 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006481/1.155, allocations: 494.4 kB / 1.007 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.155, allocations: 0 / 1.007 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001059/1.156, allocations: 326.6 kB / 1.007 GB, free: 11.4 MB / 0.7794 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.0004665/1.157, allocations: 315.4 kB / 1.007 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000499/1.157, allocations: 334.7 kB / 1.008 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.157, allocations: 0 / 1.008 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/1.157, allocations: 138.5 kB / 1.008 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.159, allocations: 269.8 kB / 1.008 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/1.161, allocations: 1.539 MB / 1.009 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/1.162, allocations: 493 kB / 1.01 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000457/1.162, allocations: 144.3 kB / 1.01 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.162, allocations: 50.11 kB / 1.01 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/1.162, allocations: 1.031 kB / 1.01 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.021/1.183, allocations: 11.86 MB / 1.022 GB, free: 8.77 MB / 0.7794 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.976326683536172] Failed to read output from testmodel.py, exit status != 0: 1.191556779667735 1.202610057 0.066799732 Calling exit ...