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.00178/0.00178, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.002016/0.002016, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.002478/0.002478, allocations: 294.5 kB / 303 MB, free: 9.5 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.258/1.258, allocations: 180.9 MB / 0.5261 GB, free: 14.74 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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 103.4 kB / 0.7248 GB, free: 40.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1502, allocations: 94.15 MB / 0.8167 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6561/0.8063, allocations: 250 MB / 1.061 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01928/0.8256, allocations: 22.4 MB / 1.083 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.8275, allocations: 58.61 kB / 1.083 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.83, allocations: 0.9977 MB / 1.084 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.8337, allocations: 1.52 MB / 1.085 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.8381, allocations: 1.955 MB / 1.087 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003355/0.8414, allocations: 2.673 MB / 1.09 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.8427, allocations: 1.029 MB / 1.091 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.8449, allocations: 1.369 MB / 1.092 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.846, allocations: 0.9609 MB / 1.093 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.8461, allocations: 107.8 kB / 1.093 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.849, allocations: 1.779 MB / 1.095 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.8493, allocations: 383.4 kB / 1.095 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005675/0.8499, allocations: 0.6351 MB / 1.096 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.8528, allocations: 2.289 MB / 1.098 GB, free: 500 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8528, allocations: 0 / 1.098 GB, free: 500 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8528, allocations: 0.9062 kB / 1.098 GB, free: 500 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.8528, allocations: 0 / 1.098 GB, free: 500 kB / 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.001905/0.8547, allocations: 1.507 MB / 1.1 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.8547, allocations: 8.688 kB / 1.1 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.8549, allocations: 148.7 kB / 1.1 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.8559, allocations: 228.8 kB / 1.1 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.8574, allocations: 0.9201 MB / 1.101 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.8576, allocations: 193.9 kB / 1.101 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/0.8577, allocations: 96.84 kB / 1.101 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.859, allocations: 0.9243 MB / 1.102 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.859, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.8591, allocations: 37.88 kB / 1.102 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.8591, allocations: 30.84 kB / 1.102 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009788/0.8601, allocations: 0.6296 MB / 1.103 GB, free: 14.86 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.004919/0.865, allocations: 4.445 MB / 1.107 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.8654, allocations: 181.9 kB / 1.107 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.8656, allocations: 136.6 kB / 1.107 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.8667, allocations: 1.018 MB / 1.108 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.8667, allocations: 37.88 kB / 1.108 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.8667, allocations: 0 / 1.108 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001046/0.8677, allocations: 470.4 kB / 1.109 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.8678, allocations: 57.8 kB / 1.109 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.8691, allocations: 1.11 MB / 1.11 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.8691, allocations: 32.23 kB / 1.11 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.8696, allocations: 0.5188 MB / 1.111 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.8697, allocations: 87.64 kB / 1.111 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.8698, allocations: 104.1 kB / 1.111 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.87, allocations: 315.7 kB / 1.111 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.8702, allocations: 131 kB / 1.111 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.8707, allocations: 388.1 kB / 1.112 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.8713, allocations: 469.3 kB / 1.112 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.8713, allocations: 2.25 kB / 1.112 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009834/0.8723, allocations: 0.5432 MB / 1.113 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.8723, allocations: 7.062 kB / 1.113 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8724, allocations: 9.375 kB / 1.113 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.8724, allocations: 13.41 kB / 1.113 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.8727, allocations: 88.56 kB / 1.113 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8728, allocations: 13.53 kB / 1.113 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.8734, allocations: 97.12 kB / 1.113 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.8735, allocations: 28.5 kB / 1.113 GB, free: 7.523 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.0003743/0.8739, allocations: 284.7 kB / 1.113 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.874, allocations: 115.9 kB / 1.113 GB, free: 7.258 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.8747, allocations: 427.7 kB / 1.114 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.8747, allocations: 6.844 kB / 1.114 GB, free: 7.055 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8747, allocations: 3.594 kB / 1.114 GB, free: 7.055 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8747, allocations: 0 / 1.114 GB, free: 7.055 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.8769, allocations: 1.55 MB / 1.115 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8769, allocations: 5.844 kB / 1.115 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.8771, allocations: 37.11 kB / 1.115 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.8771, allocations: 13.77 kB / 1.115 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.8771, allocations: 11.59 kB / 1.115 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.8772, allocations: 7.594 kB / 1.115 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.8772, allocations: 12.72 kB / 1.115 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.8779, allocations: 0.5784 MB / 1.116 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.8783, allocations: 245.6 kB / 1.116 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.8785, allocations: 9.906 kB / 1.116 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.8789, allocations: 13.11 kB / 1.116 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.8789, allocations: 33.19 kB / 1.116 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.8789, allocations: 17.91 kB / 1.116 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001079/0.88, allocations: 0.7801 MB / 1.117 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.88, allocations: 0 / 1.117 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009958/0.881, allocations: 286.9 kB / 1.117 GB, free: 4.746 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.001585/0.8826, allocations: 1.355 MB / 1.118 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.8832, allocations: 338.5 kB / 1.119 GB, free: 3.512 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8832, allocations: 1.375 kB / 1.119 GB, free: 3.512 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.8834, allocations: 141.3 kB / 1.119 GB, free: 3.453 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.8855, allocations: 0.5083 MB / 1.119 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/0.895, allocations: 7.433 MB / 1.127 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.8958, allocations: 1.062 MB / 1.128 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007814/0.8965, allocations: 199.5 kB / 1.128 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.897, allocations: 363.8 kB / 1.128 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of SimCode: time 1.393e-06/0.897, allocations: 3.938 kB / 1.128 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/0.9614, allocations: 28.19 MB / 1.156 GB, free: 1.562 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/11.03, allocations: 7.5 kB / 1.156 GB, free: 1.559 MB / 0.795 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.187369586434215] Failed to read output from testmodel.py, exit status != 0: 11.12279622303322 11.149230703 10.291114202 Calling exit ...