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.001299/0.001299, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001416/0.001416, allocations: 215.2 kB / 23.78 MB, free: 4.523 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.494/1.494, allocations: 230.6 MB / 257.6 MB, free: 7.785 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 0.996/0.996, allocations: 150 MB / 463.9 MB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 178] 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.001991/0.001991, allocations: 74.62 kB / 0.642 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.206, allocations: 89.18 MB / 0.7291 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8122/1.018, allocations: 222.1 MB / 0.9459 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03085/1.049, allocations: 20.54 MB / 0.966 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/1.052, allocations: 79.31 kB / 0.9661 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003248/1.055, allocations: 0.9899 MB / 0.967 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0055/1.06, allocations: 1.512 MB / 0.9685 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006725/1.067, allocations: 1.97 MB / 0.9704 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005505/1.073, allocations: 2.686 MB / 0.9731 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/1.075, allocations: 0.9862 MB / 0.974 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/1.079, allocations: 1.623 MB / 0.9756 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/1.081, allocations: 0.9494 MB / 0.9765 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002158/1.081, allocations: 108 kB / 0.9766 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/1.085, allocations: 1.406 MB / 0.978 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/1.085, allocations: 394.7 kB / 0.9784 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008711/1.086, allocations: 0.5095 MB / 0.9789 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003793/1.09, allocations: 2.308 MB / 0.9811 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.09, allocations: 0 / 0.9811 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.653e-06/1.09, allocations: 0 / 0.9811 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.69e-05/1.09, allocations: 0 / 0.9811 GB, free: 2.5 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.002254/1.092, allocations: 1.442 MB / 0.9825 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.092, allocations: 16.03 kB / 0.9826 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.425e-05/1.092, allocations: 22.55 kB / 0.9826 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/1.093, allocations: 146.5 kB / 0.9827 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.094, allocations: 231 kB / 0.9829 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.095, allocations: 0.8559 MB / 0.9838 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/1.096, allocations: 295.5 kB / 0.9841 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.096, allocations: 88 kB / 0.9841 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/1.097, allocations: 0.9324 MB / 0.985 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.097, allocations: 4 kB / 0.9851 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/1.098, allocations: 36 kB / 0.9851 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/1.098, allocations: 23.98 kB / 0.9851 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/1.099, allocations: 0.6323 MB / 0.9857 GB, free: 13.64 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.00424/1.103, allocations: 2.882 MB / 0.9885 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/1.103, allocations: 182.6 kB / 0.9887 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/1.104, allocations: 150.4 kB / 0.9889 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/1.104, allocations: 123.9 kB / 0.989 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.104, allocations: 34.56 kB / 0.989 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/1.104, allocations: 7.938 kB / 0.989 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001082/1.105, allocations: 472.6 kB / 0.9895 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.105, allocations: 55.41 kB / 0.9895 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/1.107, allocations: 1.115 MB / 0.9906 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/1.107, allocations: 33.7 kB / 0.9906 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/1.107, allocations: 0.5244 MB / 0.9912 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/1.107, allocations: 87.27 kB / 0.9912 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/1.108, allocations: 110 kB / 0.9913 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.108, allocations: 322 kB / 0.9916 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.108, allocations: 128.8 kB / 0.9918 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/1.109, allocations: 0.73 MB / 0.9925 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/1.109, allocations: 459.6 kB / 0.9929 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.109, allocations: 4 kB / 0.9929 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009568/1.11, allocations: 0.5513 MB / 0.9935 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.11, allocations: 8 kB / 0.9935 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.11, allocations: 4 kB / 0.9935 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.11, allocations: 8 kB / 0.9935 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/1.111, allocations: 87.89 kB / 0.9936 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/1.111, allocations: 19.92 kB / 0.9936 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/1.111, allocations: 95.22 kB / 0.9937 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/1.111, allocations: 36.23 kB / 0.9937 GB, free: 5.02 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.0004039/1.112, allocations: 289.5 kB / 0.994 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/1.112, allocations: 111.2 kB / 0.9941 GB, free: 4.617 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/1.113, allocations: 428 kB / 0.9945 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.113, allocations: 4 kB / 0.9945 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.113, allocations: 3.984 kB / 0.9945 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.113, allocations: 0 / 0.9945 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/1.115, allocations: 1.443 MB / 0.9959 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.115, allocations: 8.062 kB / 0.9959 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/1.115, allocations: 39.92 kB / 0.996 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/1.115, allocations: 8 kB / 0.996 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.115, allocations: 11.98 kB / 0.996 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/1.115, allocations: 11.94 kB / 0.996 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.115, allocations: 4 kB / 0.996 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/1.116, allocations: 0.5923 MB / 0.9966 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/1.116, allocations: 167.2 kB / 0.9967 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.116, allocations: 12 kB / 0.9967 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.117, allocations: 19.92 kB / 0.9968 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/1.117, allocations: 31.89 kB / 0.9968 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/1.117, allocations: 12 kB / 0.9968 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001103/1.118, allocations: 0.7903 MB / 0.9976 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 0 / 0.9976 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008819/1.119, allocations: 291.4 kB / 0.9979 GB, free: 0.5781 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.00142/1.12, allocations: 1.323 MB / 0.9992 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006345/1.121, allocations: 327.5 kB / 0.9995 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.121, allocations: 1.375 kB / 0.9995 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.121, allocations: 144.3 kB / 0.9996 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.123, allocations: 0.5093 MB / 1 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.134, allocations: 7.47 MB / 1.007 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/1.135, allocations: 485 kB / 1.008 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000816/1.136, allocations: 205.7 kB / 1.008 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/1.136, allocations: 363.3 kB / 1.008 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of SimCode: time 1.583e-06/1.136, allocations: 0 / 1.008 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/1.202, allocations: 30.27 MB / 1.038 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.04, allocations: 10.03 kB / 1.038 GB, free: 7.605 MB / 0.8106 GB " [Timeout remaining time 645] (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: 19.193284193985164] Failed to read output from testmodel.py, exit status != 0: 15.225574676995166 15.241650873 14.148255456 Calling exit ...