Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001916/0.001916, allocations: 104.9 kB / 16.45 MB, free: 6.445 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.002132/0.002132, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.002417/0.002417, allocations: 277.4 kB / 303 MB, free: 3.559 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.055/1.055, allocations: 180.9 MB / 0.5261 GB, free: 2.734 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.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 95.84 kB / 0.7248 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5248, allocations: 94.16 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2039/0.7287, allocations: 174.6 MB / 0.9873 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.7392, allocations: 9.565 MB / 0.9966 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.7395, allocations: 11.94 kB / 0.9966 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.74, allocations: 198.7 kB / 0.9968 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.7402, allocations: 87.31 kB / 0.9969 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.7404, allocations: 67.92 kB / 0.997 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.7408, allocations: 322.7 kB / 0.9973 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.7411, allocations: 144.9 kB / 0.9974 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.7415, allocations: 167.4 kB / 0.9976 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.7416, allocations: 127.3 kB / 0.9977 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.7417, allocations: 24 kB / 0.9977 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.7417, allocations: 20 kB / 0.9977 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.7418, allocations: 75.75 kB / 0.9978 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.7419, allocations: 131.3 kB / 0.9979 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.7423, allocations: 297.5 kB / 0.9982 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7423, allocations: 0 / 0.9982 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7423, allocations: 0 / 0.9982 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7423, allocations: 3.938 kB / 0.9982 GB, free: 6.766 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000563/0.7428, allocations: 0.5181 MB / 0.9987 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.7429, allocations: 12.03 kB / 0.9987 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.7429, allocations: 58.55 kB / 0.9988 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.743, allocations: 35.75 kB / 0.9988 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.7434, allocations: 280.8 kB / 0.9991 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.7434, allocations: 20.56 kB / 0.9991 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.7435, allocations: 24 kB / 0.9991 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.7439, allocations: 331.9 kB / 0.9995 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7439, allocations: 0 / 0.9995 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.744, allocations: 12 kB / 0.9995 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.744, allocations: 11.94 kB / 0.9995 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.7442, allocations: 143.8 kB / 0.9996 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.7456, allocations: 1.82 MB / 1.001 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.7457, allocations: 177.1 kB / 1.002 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.7457, allocations: 84.08 kB / 1.002 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.7458, allocations: 75.28 kB / 1.002 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.7458, allocations: 105.8 kB / 1.002 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7458, allocations: 0 / 1.002 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.283e-05/0.7459, allocations: 61.45 kB / 1.002 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.746, allocations: 134.7 kB / 1.002 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.7464, allocations: 365.7 kB / 1.002 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.7464, allocations: 25.7 kB / 1.002 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.7465, allocations: 175.9 kB / 1.003 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.7465, allocations: 0 / 1.003 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.7466, allocations: 13.72 kB / 1.003 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7467, allocations: 338.8 kB / 1.003 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.7468, allocations: 12 kB / 1.003 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.7468, allocations: 32.28 kB / 1.003 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.7468, allocations: 44.23 kB / 1.003 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7468, allocations: 0 / 1.003 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001599/0.747, allocations: 97.31 kB / 1.003 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.747, allocations: 4 kB / 1.003 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.747, allocations: 4 kB / 1.003 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.747, allocations: 0 / 1.003 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.7471, allocations: 11.98 kB / 1.003 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.7471, allocations: 3.938 kB / 1.003 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.7472, allocations: 31.89 kB / 1.003 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.7472, allocations: 4 kB / 1.003 GB, free: 1.402 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001439/0.7473, allocations: 209.1 kB / 1.003 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.7474, allocations: 140.7 kB / 1.003 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.7475, allocations: 126.9 kB / 1.004 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.089e-05/0.7476, allocations: 176.3 kB / 1.004 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.398e-05/0.7477, allocations: 184.4 kB / 1.004 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.77e-05/0.7477, allocations: 200.1 kB / 1.004 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.7481, allocations: 489 kB / 1.005 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.7481, allocations: 108.9 kB / 1.005 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.7482, allocations: 101 kB / 1.005 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.7482, allocations: 176.4 kB / 1.005 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/0.7483, allocations: 192.1 kB / 1.005 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.652e-05/0.7484, allocations: 184.3 kB / 1.005 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-05/0.7485, allocations: 180.2 kB / 1.005 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.7486, allocations: 331.6 kB / 1.006 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.7488, allocations: 213.9 kB / 1.006 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.7489, allocations: 180.5 kB / 1.006 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.749, allocations: 108.9 kB / 1.006 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.7491, allocations: 184.3 kB / 1.006 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.7492, allocations: 104.9 kB / 1.007 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002884/0.7495, allocations: 267.2 kB / 1.007 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7495, allocations: 4 kB / 1.007 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000262/0.7497, allocations: 35.94 kB / 1.007 GB, free: 13.37 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.0005255/0.7502, allocations: 0.8281 MB / 1.008 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.7503, allocations: 24.06 kB / 1.008 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7503, allocations: 0 / 1.008 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.7503, allocations: 0 / 1.008 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.7513, allocations: 0.5484 MB / 1.008 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.7543, allocations: 2.703 MB / 1.011 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.7547, allocations: 0.7518 MB / 1.012 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.7548, allocations: 34.95 kB / 1.012 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.7549, allocations: 75.42 kB / 1.012 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.7549, allocations: 0 / 1.012 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.7845, allocations: 5.956 MB / 1.017 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.959, allocations: 16.09 kB / 1.018 GB, free: 2.484 MB / 0.7481 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.773874459788203] Failed to read output from testmodel.py, exit status != 0: 9.031663483940065 9.046184913 8.30093953 Calling exit ...