Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008714/0.0008714, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008831/0.0008831, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9115/0.9115, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5511/0.5511, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.391e-05, allocations: 7.969 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4819/0.4819, allocations: 221.6 MB / 0.7706 GB, free: 27.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.4971, allocations: 20.42 MB / 0.7906 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.4983, allocations: 75.62 kB / 0.7906 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.5005, allocations: 1 MB / 0.7916 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.5029, allocations: 1.546 MB / 0.7931 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.5064, allocations: 2.026 MB / 0.7951 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.5085, allocations: 2.662 MB / 0.7977 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.5096, allocations: 0.9223 MB / 0.7986 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.5121, allocations: 1.999 MB / 0.8006 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.5127, allocations: 0.7951 MB / 0.8013 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.5128, allocations: 109.6 kB / 0.8014 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.5148, allocations: 1.422 MB / 0.8028 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.515, allocations: 412 kB / 0.8032 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.5153, allocations: 440 kB / 0.8036 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.5169, allocations: 2.347 MB / 0.8059 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5169, allocations: 1.5 kB / 0.8059 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5169, allocations: 2.188 kB / 0.8059 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5169, allocations: 0 / 0.8059 GB, free: 8.656 MB / 0.6355 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.001133/0.5181, allocations: 1.433 MB / 0.8073 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5181, allocations: 12.12 kB / 0.8073 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.5182, allocations: 141.7 kB / 0.8075 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/0.5188, allocations: 238.3 kB / 0.8077 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.5196, allocations: 0.8487 MB / 0.8085 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.5198, allocations: 290.3 kB / 0.8088 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.5198, allocations: 98.91 kB / 0.8089 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.5207, allocations: 0.9321 MB / 0.8098 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5207, allocations: 5 kB / 0.8098 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.5207, allocations: 36.75 kB / 0.8099 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.5207, allocations: 21.84 kB / 0.8099 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.5214, allocations: 0.6313 MB / 0.8105 GB, free: 6.023 MB / 0.6355 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.00211/0.5235, allocations: 2.896 MB / 0.8133 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.5238, allocations: 184.7 kB / 0.8135 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5239, allocations: 141.7 kB / 0.8136 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.5241, allocations: 125.6 kB / 0.8137 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.5242, allocations: 32.84 kB / 0.8138 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.5242, allocations: 4 kB / 0.8138 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0005912/0.5248, allocations: 480.3 kB / 0.8142 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.5248, allocations: 57.02 kB / 0.8143 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.5256, allocations: 1.134 MB / 0.8154 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5256, allocations: 32.64 kB / 0.8154 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.5258, allocations: 0.5153 MB / 0.8159 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.5258, allocations: 95.02 kB / 0.816 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.5259, allocations: 100.7 kB / 0.8161 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.526, allocations: 318.1 kB / 0.8164 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5261, allocations: 132.8 kB / 0.8166 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.5264, allocations: 0.7328 MB / 0.8173 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.5267, allocations: 473.1 kB / 0.8177 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5267, allocations: 0 / 0.8177 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005477/0.5273, allocations: 0.5453 MB / 0.8183 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5273, allocations: 13.06 kB / 0.8183 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.5273, allocations: 5.938 kB / 0.8183 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5273, allocations: 10.5 kB / 0.8183 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.5275, allocations: 90.31 kB / 0.8184 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.5275, allocations: 11.66 kB / 0.8184 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.5279, allocations: 98.66 kB / 0.8185 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.5279, allocations: 26.81 kB / 0.8185 GB, free: 0.9609 MB / 0.6355 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.0002148/0.5281, allocations: 290 kB / 0.8188 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.5282, allocations: 111.8 kB / 0.8189 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.5286, allocations: 432.8 kB / 0.8193 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5286, allocations: 2.531 kB / 0.8193 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5286, allocations: 0 / 0.8193 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5286, allocations: 1.312 kB / 0.8193 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.53, allocations: 1.446 MB / 0.8207 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.53, allocations: 9.75 kB / 0.8207 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.5301, allocations: 41.52 kB / 0.8208 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5301, allocations: 9.469 kB / 0.8208 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5301, allocations: 14.41 kB / 0.8208 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5301, allocations: 7.219 kB / 0.8208 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5301, allocations: 11.27 kB / 0.8208 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.5305, allocations: 0.5727 MB / 0.8214 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.5307, allocations: 169.6 kB / 0.8215 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.5308, allocations: 14.84 kB / 0.8215 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.531, allocations: 12.98 kB / 0.8215 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.531, allocations: 35.81 kB / 0.8216 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.531, allocations: 12.56 kB / 0.8216 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006764/0.5317, allocations: 0.792 MB / 0.8224 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.5317, allocations: 0 / 0.8224 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005404/0.5323, allocations: 291.1 kB / 0.8226 GB, free: 14.74 MB / 0.6511 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.0008852/0.5331, allocations: 1.324 MB / 0.8239 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.5335, allocations: 334.7 kB / 0.8243 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5335, allocations: 1.375 kB / 0.8243 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.5337, allocations: 142.1 kB / 0.8244 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.5349, allocations: 0.4895 MB / 0.8249 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.5416, allocations: 7.515 MB / 0.8322 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5419, allocations: 479.9 kB / 0.8327 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004532/0.5423, allocations: 202.9 kB / 0.8329 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.5426, allocations: 364.4 kB / 0.8332 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/0.5426, allocations: 0 / 0.8332 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.5793, allocations: 30.54 MB / 0.863 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/8.087, allocations: 6.969 kB / 0.863 GB, free: 13.78 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.644742941483855] Failed to read output from testmodel.py, exit status != 0: 8.182806770317256 8.194501241 7.674713154 Calling exit ...