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.0007739/0.0007739, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008003/0.0008003, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8433/0.8433, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001931/0.001931, allocations: 234.7 kB / 259.4 MB, free: 13.03 MB / 250.7 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.6635/0.6635, allocations: 138.4 MB / 454.3 MB, free: 29.98 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 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: "" <> 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 1.162e-06/1.162e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.69e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4127/0.4128, allocations: 221.6 MB / 0.8627 GB, free: 13.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.4292, allocations: 20.45 MB / 0.8827 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.4303, allocations: 71.38 kB / 0.8828 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.4321, allocations: 1.001 MB / 0.8837 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.4347, allocations: 1.55 MB / 0.8852 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.4382, allocations: 2.04 MB / 0.8872 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.4409, allocations: 2.702 MB / 0.8899 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009676/0.4418, allocations: 0.9599 MB / 0.8908 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.4437, allocations: 1.768 MB / 0.8925 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.4445, allocations: 0.8218 MB / 0.8933 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.4446, allocations: 108 kB / 0.8934 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.4465, allocations: 1.425 MB / 0.8948 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.4467, allocations: 402.7 kB / 0.8952 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.4471, allocations: 435 kB / 0.8956 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.4492, allocations: 2.333 MB / 0.8979 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4492, allocations: 0 / 0.8979 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4492, allocations: 0 / 0.8979 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4492, allocations: 0 / 0.8979 GB, free: 9.031 MB / 0.7292 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.001282/0.4505, allocations: 1.422 MB / 0.8993 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4505, allocations: 13.94 kB / 0.8993 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.4507, allocations: 147.4 kB / 0.8995 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/0.4513, allocations: 239.1 kB / 0.8997 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4524, allocations: 0.8363 MB / 0.9005 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.4526, allocations: 291.6 kB / 0.9008 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.4527, allocations: 99.94 kB / 0.9009 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.4538, allocations: 0.9323 MB / 0.9018 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4538, allocations: 0 / 0.9018 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.4538, allocations: 36 kB / 0.9018 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.4539, allocations: 24 kB / 0.9018 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.4546, allocations: 0.6207 MB / 0.9024 GB, free: 4.227 MB / 0.7292 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.002786/0.4574, allocations: 2.899 MB / 0.9053 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.4577, allocations: 182.8 kB / 0.9055 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4578, allocations: 133.8 kB / 0.9056 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.4581, allocations: 123.9 kB / 0.9057 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4581, allocations: 34.56 kB / 0.9057 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.4581, allocations: 0 / 0.9057 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006482/0.4588, allocations: 472.1 kB / 0.9062 GB, free: 312 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4588, allocations: 59.34 kB / 0.9062 GB, free: 240 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.4597, allocations: 1.122 MB / 0.9073 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.4597, allocations: 29.7 kB / 0.9074 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.46, allocations: 0.5243 MB / 0.9079 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.4601, allocations: 83.28 kB / 0.908 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4602, allocations: 98.09 kB / 0.908 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.4602, allocations: 326 kB / 0.9084 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4604, allocations: 128.9 kB / 0.9085 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.4608, allocations: 0.7347 MB / 0.9092 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.4614, allocations: 467.5 kB / 0.9096 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4614, allocations: 4 kB / 0.9096 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005713/0.462, allocations: 0.5396 MB / 0.9102 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.462, allocations: 8 kB / 0.9102 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.462, allocations: 4 kB / 0.9102 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.462, allocations: 11.94 kB / 0.9102 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4622, allocations: 83.84 kB / 0.9103 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.4623, allocations: 19.92 kB / 0.9103 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.4626, allocations: 102.3 kB / 0.9104 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.4626, allocations: 34.12 kB / 0.9104 GB, free: 11.63 MB / 0.7448 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.0002488/0.4629, allocations: 286.3 kB / 0.9107 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.463, allocations: 107.3 kB / 0.9108 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.4635, allocations: 429.8 kB / 0.9112 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4635, allocations: 3.938 kB / 0.9112 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4635, allocations: 8 kB / 0.9112 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4635, allocations: 0 / 0.9112 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4648, allocations: 1.44 MB / 0.9126 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4648, allocations: 8 kB / 0.9126 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.4649, allocations: 36.2 kB / 0.9127 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.4649, allocations: 8 kB / 0.9127 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4649, allocations: 19.92 kB / 0.9127 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4649, allocations: 4 kB / 0.9127 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.4649, allocations: 7.938 kB / 0.9127 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.4653, allocations: 0.5676 MB / 0.9133 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.4655, allocations: 167.2 kB / 0.9134 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.4656, allocations: 15.94 kB / 0.9134 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.4658, allocations: 15.98 kB / 0.9135 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4658, allocations: 36.7 kB / 0.9135 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.4658, allocations: 12 kB / 0.9135 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006654/0.4665, allocations: 0.7744 MB / 0.9143 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.4665, allocations: 0 / 0.9143 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006255/0.4671, allocations: 291.4 kB / 0.9145 GB, free: 7.227 MB / 0.7448 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.0009059/0.468, allocations: 1.331 MB / 0.9158 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.4684, allocations: 336.6 kB / 0.9162 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4685, allocations: 4.062 kB / 0.9162 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4686, allocations: 135.7 kB / 0.9163 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.4701, allocations: 0.5227 MB / 0.9168 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/0.4769, allocations: 7.461 MB / 0.9241 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.4772, allocations: 477.9 kB / 0.9245 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004745/0.4777, allocations: 201.3 kB / 0.9247 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.478, allocations: 360.4 kB / 0.9251 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/0.478, allocations: 0 / 0.9251 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/0.7365, allocations: 30.72 MB / 0.9551 GB, free: 250.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.989, allocations: 15.02 kB / 0.9551 GB, free: 250.7 MB / 0.7605 GB " [Timeout remaining time 652] (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: 10.528099682182074] Failed to read output from testmodel.py, exit status != 0: 8.089952843263745 8.105379014 7.653883155 Calling exit ...