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.001324/0.001324, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001532/0.001532, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.582/1.582, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 1.035/1.035, allocations: 150 MB / 460.2 MB, free: 5.328 MB / 350.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002064/0.002064, allocations: 65.53 kB / 0.6368 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.247, allocations: 89.15 MB / 0.7239 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8439/1.091, allocations: 253.2 MB / 0.9712 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0338/1.125, allocations: 22.44 MB / 0.9931 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/1.128, allocations: 77.12 kB / 0.9932 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003778/1.132, allocations: 0.9902 MB / 0.9941 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005638/1.138, allocations: 1.527 MB / 0.9956 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006329/1.144, allocations: 1.965 MB / 0.9975 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006708/1.151, allocations: 2.672 MB / 1 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/1.153, allocations: 1.028 MB / 1.001 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005202/1.158, allocations: 1.604 MB / 1.003 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/1.16, allocations: 0.9533 MB / 1.004 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002826/1.161, allocations: 108 kB / 1.004 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/1.165, allocations: 1.796 MB / 1.005 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/1.166, allocations: 390.7 kB / 1.006 GB, free: 128 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.167, allocations: 0.6415 MB / 1.006 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006417/1.174, allocations: 2.367 MB / 1.009 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/1.174, allocations: 4 kB / 1.009 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/1.174, allocations: 0 / 1.009 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-05/1.174, allocations: 0 / 1.009 GB, free: 13.1 MB / 0.7169 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.003807/1.178, allocations: 1.517 MB / 1.01 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.178, allocations: 16.03 kB / 1.01 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.674e-05/1.178, allocations: 22 kB / 1.01 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/1.178, allocations: 143.5 kB / 1.01 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/1.179, allocations: 235 kB / 1.011 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/1.181, allocations: 0.9358 MB / 1.012 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/1.182, allocations: 188.7 kB / 1.012 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.182, allocations: 96 kB / 1.012 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.183, allocations: 0.9246 MB / 1.013 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.183, allocations: 7.938 kB / 1.013 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/1.184, allocations: 36 kB / 1.013 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/1.184, allocations: 24 kB / 1.013 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/1.185, allocations: 0.6324 MB / 1.013 GB, free: 8.172 MB / 0.7169 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.005884/1.191, allocations: 4.433 MB / 1.018 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/1.191, allocations: 178.7 kB / 1.018 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/1.191, allocations: 151.9 kB / 1.018 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.193, allocations: 1.017 MB / 1.019 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/1.193, allocations: 30.56 kB / 1.019 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 4.048e-06/1.193, allocations: 3.984 kB / 1.019 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001215/1.194, allocations: 472.7 kB / 1.02 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.194, allocations: 55.41 kB / 1.02 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.196, allocations: 1.126 MB / 1.021 GB, free: 60 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/1.196, allocations: 33.7 kB / 1.021 GB, free: 20 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/1.196, allocations: 0.5243 MB / 1.021 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/1.196, allocations: 83.28 kB / 1.021 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.197, allocations: 102 kB / 1.021 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.197, allocations: 322 kB / 1.022 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/1.197, allocations: 132.7 kB / 1.022 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/1.197, allocations: 383.8 kB / 1.022 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/1.198, allocations: 467.6 kB / 1.023 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.198, allocations: 3.938 kB / 1.023 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001062/1.199, allocations: 0.548 MB / 1.023 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.199, allocations: 8.688 kB / 1.023 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-05/1.199, allocations: 8 kB / 1.023 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.199, allocations: 12 kB / 1.023 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/1.2, allocations: 87.84 kB / 1.023 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/1.2, allocations: 11.98 kB / 1.023 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/1.2, allocations: 99.23 kB / 1.023 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/1.201, allocations: 35.92 kB / 1.023 GB, free: 13.01 MB / 0.7325 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.0004634/1.201, allocations: 285.6 kB / 1.024 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/1.201, allocations: 107.3 kB / 1.024 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/1.202, allocations: 438.3 kB / 1.024 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.202, allocations: 0 / 1.024 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.202, allocations: 4 kB / 1.024 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.202, allocations: 0 / 1.024 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/1.205, allocations: 1.558 MB / 1.026 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.205, allocations: 4 kB / 1.026 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.205, allocations: 43.92 kB / 1.026 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.205, allocations: 8 kB / 1.026 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/1.205, allocations: 4.562 kB / 1.026 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.205, allocations: 15.94 kB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.205, allocations: 4 kB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/1.206, allocations: 0.582 MB / 1.026 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/1.206, allocations: 244.3 kB / 1.027 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.206, allocations: 12 kB / 1.027 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/1.206, allocations: 15.92 kB / 1.027 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/1.206, allocations: 35.84 kB / 1.027 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/1.206, allocations: 16 kB / 1.027 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001201/1.208, allocations: 0.7826 MB / 1.028 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.208, allocations: 0 / 1.028 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001114/1.209, allocations: 291.4 kB / 1.028 GB, free: 8.363 MB / 0.7325 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.001793/1.211, allocations: 1.329 MB / 1.029 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007806/1.211, allocations: 332.6 kB / 1.029 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.211, allocations: 0 / 1.029 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/1.212, allocations: 135.9 kB / 1.03 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.214, allocations: 0.5184 MB / 1.03 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.226, allocations: 7.473 MB / 1.037 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/1.227, allocations: 1.067 MB / 1.038 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008047/1.228, allocations: 199.2 kB / 1.039 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/1.229, allocations: 367.3 kB / 1.039 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of SimCode: time 7.12e-07/1.229, allocations: 4 kB / 1.039 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/1.296, allocations: 28.21 MB / 1.066 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.92, allocations: 8 kB / 1.066 GB, free: 0.5586 MB / 0.7637 GB " [Timeout remaining time 648] (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: 16.35793224099325] Failed to read output from testmodel.py, exit status != 0: 12.072679920995142 12.099763557 10.92072724 Calling exit ...