Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001615/0.001615, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.002068/0.002068, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.002442/0.002442, allocations: 283 kB / 309.8 MB, free: 3.449 MB / 238.1 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 1.098/1.098, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002991/0.002991, allocations: 102 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5054, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2088/0.7142, allocations: 173.9 MB / 0.9976 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.7216, allocations: 6.063 MB / 1.003 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.7219, allocations: 11.94 kB / 1.003 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.7225, allocations: 182.7 kB / 1.004 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.7229, allocations: 99.36 kB / 1.004 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.7242, allocations: 0.5333 MB / 1.004 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.7248, allocations: 418.7 kB / 1.005 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.725, allocations: 91.67 kB / 1.005 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.7254, allocations: 199.2 kB / 1.005 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.7256, allocations: 155.4 kB / 1.005 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.7256, allocations: 23.94 kB / 1.005 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.7265, allocations: 0.4909 MB / 1.006 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.7266, allocations: 63.83 kB / 1.006 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.7267, allocations: 107.5 kB / 1.006 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.7274, allocations: 482.2 kB / 1.006 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7274, allocations: 0 / 1.006 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7274, allocations: 0 / 1.006 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.7274, allocations: 4 kB / 1.006 GB, free: 2.816 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006936/0.7281, allocations: 0.5296 MB / 1.007 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.7282, allocations: 8.031 kB / 1.007 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.131e-05/0.7282, allocations: 8.438 kB / 1.007 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.7282, allocations: 58.55 kB / 1.007 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.7285, allocations: 43.83 kB / 1.007 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.7289, allocations: 266.7 kB / 1.007 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.7291, allocations: 135.3 kB / 1.007 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.7291, allocations: 31.92 kB / 1.007 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.7296, allocations: 290.8 kB / 1.008 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7296, allocations: 0 / 1.008 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.7296, allocations: 12 kB / 1.008 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.7296, allocations: 8 kB / 1.008 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.73, allocations: 156.6 kB / 1.008 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.7315, allocations: 1.587 MB / 1.009 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.7315, allocations: 165.1 kB / 1.009 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.7316, allocations: 80.14 kB / 1.01 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.7316, allocations: 75.28 kB / 1.01 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.7317, allocations: 117.8 kB / 1.01 GB, free: 15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7317, allocations: 0 / 1.01 GB, free: 15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.677e-05/0.7318, allocations: 49.55 kB / 1.01 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.7318, allocations: 126.7 kB / 1.01 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.7322, allocations: 314.6 kB / 1.01 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.7322, allocations: 29.64 kB / 1.01 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.7324, allocations: 195.6 kB / 1.01 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.7324, allocations: 8 kB / 1.01 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.7325, allocations: 45.66 kB / 1.01 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7326, allocations: 326.8 kB / 1.011 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.7327, allocations: 35.97 kB / 1.011 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.7329, allocations: 163.7 kB / 1.011 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.7331, allocations: 200.9 kB / 1.011 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7332, allocations: 4 kB / 1.011 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004415/0.7336, allocations: 225.5 kB / 1.011 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7336, allocations: 11.92 kB / 1.011 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7336, allocations: 8 kB / 1.011 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7336, allocations: 4 kB / 1.011 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.7338, allocations: 35.92 kB / 1.011 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.7338, allocations: 11.98 kB / 1.011 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.734, allocations: 31.78 kB / 1.011 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.734, allocations: 8 kB / 1.011 GB, free: 13.03 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001616/0.7342, allocations: 225.1 kB / 1.012 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.7343, allocations: 128.7 kB / 1.012 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.7343, allocations: 121.8 kB / 1.012 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.469e-05/0.7344, allocations: 176.3 kB / 1.012 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/0.7345, allocations: 188.2 kB / 1.012 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.097e-05/0.7346, allocations: 176.4 kB / 1.012 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.7349, allocations: 489.1 kB / 1.013 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.747e-05/0.735, allocations: 109 kB / 1.013 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.735, allocations: 104.9 kB / 1.013 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.7351, allocations: 184.2 kB / 1.013 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.7352, allocations: 176.3 kB / 1.013 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.679e-05/0.7353, allocations: 192.2 kB / 1.014 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.673e-05/0.7354, allocations: 176.3 kB / 1.014 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.7355, allocations: 323.7 kB / 1.014 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.7357, allocations: 209.9 kB / 1.014 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.7358, allocations: 184.2 kB / 1.014 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.7359, allocations: 105 kB / 1.015 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.736, allocations: 180.2 kB / 1.015 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.736, allocations: 105 kB / 1.015 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002586/0.7363, allocations: 225.9 kB / 1.015 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.7363, allocations: 0 / 1.015 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003658/0.7367, allocations: 47.89 kB / 1.015 GB, free: 9.07 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005964/0.7373, allocations: 0.8632 MB / 1.016 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.7375, allocations: 79.77 kB / 1.016 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7375, allocations: 0 / 1.016 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.7375, allocations: 0 / 1.016 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.738, allocations: 487.5 kB / 1.016 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.7408, allocations: 2.511 MB / 1.019 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.7411, allocations: 0.7398 MB / 1.02 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.7413, allocations: 33.94 kB / 1.02 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.7414, allocations: 67.34 kB / 1.02 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.7414, allocations: 0 / 1.02 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.7623, allocations: 4.094 MB / 1.024 GB, free: 108 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.871, allocations: 8.641 kB / 1.024 GB, free: 100 kB / 0.7481 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.976496657007374] Failed to read output from testmodel.py, exit status != 0: 9.002428650972433 9.026884685 8.294913491 Calling exit ...