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.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.001449/0.001449, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001507/0.001507, allocations: 185 kB / 22.85 MB, free: 5.641 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.302/1.302, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 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.002296/0.002296, allocations: 281.7 kB / 307 MB, free: 8.434 MB / 238.1 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 1.159/1.159, allocations: 180.8 MB / 0.5304 GB, free: 14.54 MB / 382.1 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.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: 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 0.002655/0.002655, allocations: 105.5 kB / 0.7311 GB, free: 38.79 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1742, allocations: 94.21 MB / 0.8231 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6471/0.8213, allocations: 248.3 MB / 1.066 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.8418, allocations: 22.37 MB / 1.087 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.8434, allocations: 75.19 kB / 1.087 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.8454, allocations: 0.9961 MB / 1.088 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.8486, allocations: 1.534 MB / 1.09 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.8525, allocations: 2.015 MB / 1.092 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.8552, allocations: 2.703 MB / 1.095 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.8563, allocations: 0.9663 MB / 1.095 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.8583, allocations: 1.385 MB / 1.097 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009465/0.8592, allocations: 0.9577 MB / 1.098 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.8594, allocations: 110.3 kB / 1.098 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.8618, allocations: 1.423 MB / 1.099 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.8621, allocations: 391.6 kB / 1.1 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005124/0.8626, allocations: 0.6302 MB / 1.1 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.8651, allocations: 2.227 MB / 1.102 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8651, allocations: 0 / 1.102 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8651, allocations: 4.594 kB / 1.102 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.8651, allocations: 0 / 1.102 GB, free: 1.086 MB / 0.7481 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.001519/0.8666, allocations: 1.431 MB / 1.104 GB, free: 140 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.8666, allocations: 10.47 kB / 1.104 GB, free: 140 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.8676, allocations: 235 kB / 1.104 GB, free: 64 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.8689, allocations: 0.845 MB / 1.105 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.869, allocations: 191.6 kB / 1.105 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8691, allocations: 91.53 kB / 1.105 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.8705, allocations: 0.9292 MB / 1.106 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.8705, allocations: 3.375 kB / 1.106 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.8706, allocations: 36.59 kB / 1.106 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.8706, allocations: 22.06 kB / 1.106 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.8716, allocations: 0.6335 MB / 1.107 GB, free: 14.75 MB / 0.7637 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.004292/0.8759, allocations: 4.35 MB / 1.111 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.8762, allocations: 186.9 kB / 1.111 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.8764, allocations: 144.9 kB / 1.111 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.8769, allocations: 123.1 kB / 1.111 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.877, allocations: 43.44 kB / 1.111 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 2.043e-06/0.877, allocations: 0 / 1.111 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.0009869/0.878, allocations: 470.9 kB / 1.112 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.878, allocations: 51.41 kB / 1.112 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8793, allocations: 1.114 MB / 1.113 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.8793, allocations: 35.52 kB / 1.113 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.8797, allocations: 0.5181 MB / 1.114 GB, free: 10 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.8798, allocations: 86.77 kB / 1.114 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.8799, allocations: 98.58 kB / 1.114 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.88, allocations: 322.8 kB / 1.114 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.8802, allocations: 130.4 kB / 1.114 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.8806, allocations: 382.5 kB / 1.115 GB, free: 9.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.8812, allocations: 471.8 kB / 1.115 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8812, allocations: 2.844 kB / 1.115 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008082/0.882, allocations: 0.5476 MB / 1.116 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.882, allocations: 7.406 kB / 1.116 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.882, allocations: 8.688 kB / 1.116 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.882, allocations: 7.25 kB / 1.116 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.8824, allocations: 90.67 kB / 1.116 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.8824, allocations: 11.06 kB / 1.116 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.883, allocations: 98.53 kB / 1.116 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.8831, allocations: 27.95 kB / 1.116 GB, free: 8.555 MB / 0.7637 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.0003543/0.8835, allocations: 284.3 kB / 1.116 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.8836, allocations: 112.4 kB / 1.116 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.8843, allocations: 438.1 kB / 1.117 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.8843, allocations: 6.609 kB / 1.117 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8843, allocations: 0 / 1.117 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8843, allocations: 1.5 kB / 1.117 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.8863, allocations: 1.533 MB / 1.118 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8863, allocations: 2.938 kB / 1.118 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.8865, allocations: 40.36 kB / 1.118 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8865, allocations: 5.312 kB / 1.118 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.8865, allocations: 15.94 kB / 1.118 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.8865, allocations: 8.594 kB / 1.118 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.8865, allocations: 11.92 kB / 1.118 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.8871, allocations: 0.5854 MB / 1.119 GB, free: 6.664 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.8874, allocations: 167.2 kB / 1.119 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.8875, allocations: 5.906 kB / 1.119 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.8878, allocations: 16.73 kB / 1.119 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.8879, allocations: 33 kB / 1.119 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.8879, allocations: 14.66 kB / 1.119 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000883/0.8888, allocations: 0.7816 MB / 1.12 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.8888, allocations: 0 / 1.12 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007761/0.8896, allocations: 285.5 kB / 1.12 GB, free: 6.016 MB / 0.7637 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.0005831/0.8901, allocations: 333 kB / 1.12 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005297/0.8907, allocations: 346.9 kB / 1.121 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8907, allocations: 0 / 1.121 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.8908, allocations: 137 kB / 1.121 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8928, allocations: 0.5216 MB / 1.121 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.8948, allocations: 1.59 MB / 1.123 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.8954, allocations: 1.067 MB / 1.124 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005736/0.896, allocations: 191.7 kB / 1.124 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.8962, allocations: 72.22 kB / 1.124 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of SimCode: time 4.1e-07/0.8962, allocations: 0 / 1.124 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of Templates: time 0.02974/0.9259, allocations: 18.95 MB / 1.143 GB, free: 4.023 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.811258827998245] Failed to read output from testmodel.py, exit status != 0: 0.9331426320059109 0.947291882 0.079262919 Calling exit ...