Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 295.6 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.177/1.177, allocations: 180.9 MB / 0.5261 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 106.2 kB / 0.7248 GB, free: 40.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1528, allocations: 94.16 MB / 0.8168 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1771/0.3299, allocations: 148.5 MB / 0.9618 GB, free: 496 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006099/0.336, allocations: 4.693 MB / 0.9664 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.3364, allocations: 7.938 kB / 0.9664 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.337, allocations: 174.8 kB / 0.9665 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.3374, allocations: 87.44 kB / 0.9666 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3376, allocations: 59.92 kB / 0.9667 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.3381, allocations: 306.8 kB / 0.967 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.3384, allocations: 107.7 kB / 0.9671 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.3387, allocations: 111.6 kB / 0.9672 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3389, allocations: 151.4 kB / 0.9673 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.339, allocations: 16 kB / 0.9673 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.339, allocations: 16 kB / 0.9674 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3391, allocations: 71.75 kB / 0.9674 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3392, allocations: 103.4 kB / 0.9675 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.3396, allocations: 243.1 kB / 0.9678 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3396, allocations: 0 / 0.9678 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3396, allocations: 0 / 0.9678 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.3396, allocations: 0 / 0.9678 GB, free: 10.34 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005806/0.3402, allocations: 494.9 kB / 0.9682 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3402, allocations: 12.03 kB / 0.9682 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.3403, allocations: 58.73 kB / 0.9683 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.3403, allocations: 28.75 kB / 0.9683 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.3408, allocations: 269.6 kB / 0.9686 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3408, allocations: 16.81 kB / 0.9686 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.3408, allocations: 24.38 kB / 0.9686 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.3413, allocations: 306.9 kB / 0.9689 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3413, allocations: 0 / 0.9689 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3413, allocations: 15.94 kB / 0.9689 GB, free: 9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3414, allocations: 12 kB / 0.9689 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3416, allocations: 119.8 kB / 0.9691 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3432, allocations: 1.969 MB / 0.971 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3433, allocations: 165.2 kB / 0.9711 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.3434, allocations: 84.14 kB / 0.9712 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3434, allocations: 87.28 kB / 0.9713 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.3435, allocations: 109.8 kB / 0.9714 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3435, allocations: 0 / 0.9714 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.3436, allocations: 53.5 kB / 0.9715 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.3436, allocations: 130.6 kB / 0.9716 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.344, allocations: 332.5 kB / 0.9719 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.344, allocations: 29.7 kB / 0.9719 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3441, allocations: 163.9 kB / 0.9721 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.3441, allocations: 0 / 0.9721 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3442, allocations: 21.72 kB / 0.9721 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3443, allocations: 330.8 kB / 0.9724 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.3444, allocations: 11.98 kB / 0.9724 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.3444, allocations: 62.8 kB / 0.9725 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.3445, allocations: 70.8 kB / 0.9726 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.3445, allocations: 8 kB / 0.9726 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/0.3447, allocations: 97.36 kB / 0.9727 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3447, allocations: 11.94 kB / 0.9727 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3447, allocations: 3.938 kB / 0.9727 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3447, allocations: 4 kB / 0.9727 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.3448, allocations: 24.17 kB / 0.9727 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3448, allocations: 4 kB / 0.9727 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.3449, allocations: 27.67 kB / 0.9727 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3449, allocations: 4 kB / 0.9727 GB, free: 4.863 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000145/0.3451, allocations: 213.1 kB / 0.9729 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.3451, allocations: 132.8 kB / 0.9731 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.3452, allocations: 126 kB / 0.9732 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.691e-05/0.3453, allocations: 184.2 kB / 0.9734 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-05/0.3454, allocations: 180.2 kB / 0.9735 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/0.3455, allocations: 184.2 kB / 0.9737 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.3458, allocations: 473.1 kB / 0.9742 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/0.3458, allocations: 105 kB / 0.9743 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.3459, allocations: 105 kB / 0.9744 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.409e-05/0.346, allocations: 188.2 kB / 0.9745 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.346, allocations: 184.2 kB / 0.9747 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.078e-05/0.3461, allocations: 180.2 kB / 0.9749 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.191e-05/0.3462, allocations: 176.3 kB / 0.975 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3464, allocations: 335.6 kB / 0.9754 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3465, allocations: 205.9 kB / 0.9756 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/0.3466, allocations: 184.1 kB / 0.9757 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3467, allocations: 101 kB / 0.9758 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.3468, allocations: 184.5 kB / 0.976 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.3468, allocations: 101 kB / 0.9761 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002491/0.3471, allocations: 247 kB / 0.9763 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.3471, allocations: 0 / 0.9763 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002715/0.3473, allocations: 27.95 kB / 0.9764 GB, free: 0.8984 MB / 0.7169 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.0004625/0.3478, allocations: 0.8398 MB / 0.9772 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.3479, allocations: 27.92 kB / 0.9772 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3479, allocations: 0 / 0.9772 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.3479, allocations: 0 / 0.9772 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.3486, allocations: 0.5158 MB / 0.9777 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.3512, allocations: 2.518 MB / 0.9802 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3516, allocations: 0.748 MB / 0.9809 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.198e-05/0.3517, allocations: 38.16 kB / 0.9809 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.3517, allocations: 59.41 kB / 0.981 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.3517, allocations: 0 / 0.981 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3791, allocations: 4.843 MB / 0.9857 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.496, allocations: 4.062 kB / 0.9857 GB, free: 7.328 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.553400692064315] Failed to read output from testmodel.py, exit status != 0: 8.563508703839034 8.577376269 8.234920492 Calling exit ...