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.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.001336/0.001336, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00155/0.00155, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.801 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.00257/0.00257, allocations: 292.4 kB / 312.7 MB, free: 2.609 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.211/1.211, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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 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.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: 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.003227/0.003227, allocations: 105.8 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1562, allocations: 95.4 MB / 0.8327 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1624/0.3186, allocations: 130.8 MB / 0.9604 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005435/0.3241, allocations: 4.364 MB / 0.9646 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.3243, allocations: 11.94 kB / 0.9647 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.3249, allocations: 170.8 kB / 0.9648 GB, free: 456 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.3252, allocations: 87.44 kB / 0.9649 GB, free: 368 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3254, allocations: 63.91 kB / 0.965 GB, free: 304 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.3258, allocations: 306.6 kB / 0.9653 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.3261, allocations: 96.41 kB / 0.9653 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.3263, allocations: 119.5 kB / 0.9655 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3266, allocations: 147.4 kB / 0.9656 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.3266, allocations: 16 kB / 0.9656 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.3266, allocations: 16 kB / 0.9656 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.3267, allocations: 75.73 kB / 0.9657 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.3268, allocations: 83.61 kB / 0.9658 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.3271, allocations: 234.8 kB / 0.966 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3271, allocations: 3.984 kB / 0.966 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3271, allocations: 0 / 0.966 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3271, allocations: 0 / 0.966 GB, free: 15.22 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.0005042/0.3276, allocations: 425.7 kB / 0.9664 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3277, allocations: 17.94 kB / 0.9664 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.3277, allocations: 54.73 kB / 0.9665 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3278, allocations: 28.75 kB / 0.9665 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.3282, allocations: 201 kB / 0.9667 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3282, allocations: 16.81 kB / 0.9667 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.3282, allocations: 24.38 kB / 0.9667 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.3286, allocations: 304.8 kB / 0.967 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3287, allocations: 7.938 kB / 0.967 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.3287, allocations: 11.98 kB / 0.9671 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3287, allocations: 8 kB / 0.9671 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.3289, allocations: 115.8 kB / 0.9672 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3304, allocations: 1.9 MB / 0.969 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3305, allocations: 173.1 kB / 0.9692 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.3306, allocations: 84.08 kB / 0.9693 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.3306, allocations: 75.28 kB / 0.9693 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.3307, allocations: 109.8 kB / 0.9694 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3307, allocations: 4 kB / 0.9695 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.831e-05/0.3308, allocations: 53.5 kB / 0.9695 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.3308, allocations: 134.7 kB / 0.9696 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3312, allocations: 328.5 kB / 0.9699 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3312, allocations: 25.7 kB / 0.97 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3313, allocations: 163.8 kB / 0.9701 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.3314, allocations: 3.984 kB / 0.9701 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3314, allocations: 25.72 kB / 0.9702 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3315, allocations: 330.8 kB / 0.9705 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.3316, allocations: 23.86 kB / 0.9705 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.3316, allocations: 58.86 kB / 0.9705 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.3317, allocations: 66.78 kB / 0.9706 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3317, allocations: 4 kB / 0.9706 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001828/0.3319, allocations: 105.4 kB / 0.9707 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3319, allocations: 8 kB / 0.9707 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3319, allocations: 3.938 kB / 0.9707 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3319, allocations: 4 kB / 0.9707 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.332, allocations: 15.94 kB / 0.9707 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.332, allocations: 4 kB / 0.9708 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.3321, allocations: 23.73 kB / 0.9708 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3321, allocations: 8.25 kB / 0.9708 GB, free: 9.984 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.0001535/0.3323, allocations: 217.7 kB / 0.971 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.3323, allocations: 128.8 kB / 0.9711 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.3324, allocations: 133.9 kB / 0.9712 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/0.3325, allocations: 180.2 kB / 0.9714 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-05/0.3326, allocations: 180.3 kB / 0.9716 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.227e-05/0.3327, allocations: 180.4 kB / 0.9718 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.333, allocations: 448.2 kB / 0.9722 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-05/0.333, allocations: 101 kB / 0.9723 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.3331, allocations: 104.9 kB / 0.9724 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.47e-05/0.3332, allocations: 184.3 kB / 0.9726 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.3332, allocations: 184.1 kB / 0.9727 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.988e-05/0.3333, allocations: 184.2 kB / 0.9729 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-05/0.3334, allocations: 180.3 kB / 0.9731 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3336, allocations: 323.6 kB / 0.9734 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3337, allocations: 144.8 kB / 0.9735 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3338, allocations: 180.2 kB / 0.9737 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3339, allocations: 105 kB / 0.9738 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.334, allocations: 184.2 kB / 0.974 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.334, allocations: 105 kB / 0.9741 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002417/0.3342, allocations: 235 kB / 0.9743 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.3342, allocations: 4 kB / 0.9743 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002683/0.3345, allocations: 28 kB / 0.9743 GB, free: 6.156 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.0004804/0.335, allocations: 0.832 MB / 0.9751 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3351, allocations: 19.94 kB / 0.9752 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3351, allocations: 0 / 0.9752 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3351, allocations: 0 / 0.9752 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.3359, allocations: 0.5194 MB / 0.9757 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.3388, allocations: 2.507 MB / 0.9781 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.3389, allocations: 133.6 kB / 0.9782 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.339, allocations: 30.28 kB / 0.9783 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.3391, allocations: 59.42 kB / 0.9783 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/0.3391, allocations: 0 / 0.9783 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3643/0.7035, allocations: 5.624 MB / 0.9838 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.74, allocations: 1.438 kB / 0.9838 GB, free: 150.7 MB / 0.7169 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.91434118989855] Failed to read output from testmodel.py, exit status != 0: 11.852252915035933 11.878779683 11.547038088 Calling exit ...