Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.001314/0.001314, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001422/0.001422, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.992 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.002516/0.002516, allocations: 285 kB / 312.7 MB, free: 2.805 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.176/1.176, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.002746/0.002746, allocations: 101.4 kB / 0.7396 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1832/0.3479, allocations: 151.6 MB / 0.9808 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3981/0.746, allocations: 4.735 MB / 0.9854 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.7463, allocations: 14.31 kB / 0.9854 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.7467, allocations: 172.4 kB / 0.9856 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.747, allocations: 88.52 kB / 0.9857 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.7471, allocations: 68.36 kB / 0.9857 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.7474, allocations: 299.5 kB / 0.986 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.7476, allocations: 80.23 kB / 0.9861 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.7478, allocations: 112.8 kB / 0.9862 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.7479, allocations: 139.6 kB / 0.9863 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.7479, allocations: 10.09 kB / 0.9863 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.748, allocations: 12.06 kB / 0.9863 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.748, allocations: 31.03 kB / 0.9864 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.7481, allocations: 73.64 kB / 0.9864 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.7482, allocations: 160.4 kB / 0.9866 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7483, allocations: 1.094 kB / 0.9866 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7483, allocations: 0.8438 kB / 0.9866 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7483, allocations: 0 / 0.9866 GB, free: 3.297 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005163/0.7488, allocations: 378.8 kB / 0.987 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7488, allocations: 11.16 kB / 0.987 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.7489, allocations: 48.28 kB / 0.987 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.7489, allocations: 22.58 kB / 0.987 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.7492, allocations: 183.5 kB / 0.9872 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.7492, allocations: 14.19 kB / 0.9872 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.7492, allocations: 17.69 kB / 0.9872 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.7495, allocations: 208.5 kB / 0.9874 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7495, allocations: 5.094 kB / 0.9874 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.7495, allocations: 6.656 kB / 0.9874 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.7495, allocations: 4.688 kB / 0.9875 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.7496, allocations: 74.05 kB / 0.9875 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/0.7506, allocations: 1.552 MB / 0.989 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.7507, allocations: 171.6 kB / 0.9892 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.7507, allocations: 84.98 kB / 0.9893 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.7507, allocations: 76.22 kB / 0.9894 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.7508, allocations: 107.7 kB / 0.9895 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.7508, allocations: 0.8438 kB / 0.9895 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.961e-05/0.7509, allocations: 51.05 kB / 0.9895 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.7509, allocations: 132.2 kB / 0.9896 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.7512, allocations: 246.3 kB / 0.9899 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.7512, allocations: 30.55 kB / 0.9899 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.7513, allocations: 146.8 kB / 0.99 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.7513, allocations: 0.9375 kB / 0.99 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.7513, allocations: 19.86 kB / 0.9901 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7515, allocations: 329.2 kB / 0.9904 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.7515, allocations: 5.859 kB / 0.9904 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.7515, allocations: 47.19 kB / 0.9904 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.263e-05/0.7516, allocations: 65.41 kB / 0.9905 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7516, allocations: 1.094 kB / 0.9905 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001483/0.7517, allocations: 98.75 kB / 0.9906 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7517, allocations: 6.672 kB / 0.9906 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.7517, allocations: 2.375 kB / 0.9906 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7517, allocations: 5.656 kB / 0.9906 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.7518, allocations: 16.86 kB / 0.9906 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7518, allocations: 2.531 kB / 0.9906 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.7519, allocations: 18.3 kB / 0.9906 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.7519, allocations: 3.625 kB / 0.9906 GB, free: 15.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000122/0.752, allocations: 201.2 kB / 0.9908 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.7521, allocations: 132.9 kB / 0.991 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.7521, allocations: 119.1 kB / 0.9911 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.982e-05/0.7522, allocations: 182 kB / 0.9912 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-05/0.7523, allocations: 179.8 kB / 0.9914 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.693e-05/0.7524, allocations: 181.4 kB / 0.9916 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.7526, allocations: 435.2 kB / 0.992 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-05/0.7527, allocations: 105.6 kB / 0.9921 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.7527, allocations: 103.7 kB / 0.9922 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.354e-05/0.7528, allocations: 182.7 kB / 0.9924 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.7529, allocations: 178.6 kB / 0.9925 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-05/0.753, allocations: 185.5 kB / 0.9927 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-05/0.753, allocations: 180.8 kB / 0.9929 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.7532, allocations: 329.8 kB / 0.9932 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.7533, allocations: 119.7 kB / 0.9933 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.7534, allocations: 182.8 kB / 0.9935 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7535, allocations: 107.3 kB / 0.9936 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.7536, allocations: 183.9 kB / 0.9938 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.7536, allocations: 103.7 kB / 0.9939 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001552/0.7537, allocations: 179.8 kB / 0.994 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7537, allocations: 1.688 kB / 0.994 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002773/0.754, allocations: 19.19 kB / 0.9941 GB, free: 12.51 MB / 0.7325 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.0004254/0.7545, allocations: 0.8266 MB / 0.9949 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.7545, allocations: 20.64 kB / 0.9949 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7545, allocations: 1.75 kB / 0.9949 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.7545, allocations: 6.938 kB / 0.9949 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.7552, allocations: 0.4974 MB / 0.9954 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.757, allocations: 2.044 MB / 0.9974 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.7574, allocations: 0.7149 MB / 0.9981 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.623e-05/0.7574, allocations: 16.81 kB / 0.9981 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.7575, allocations: 48.38 kB / 0.9981 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.7575, allocations: 0.9375 kB / 0.9981 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.787, allocations: 3.736 MB / 1.002 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.13, allocations: 5.969 kB / 1.002 GB, free: 8.617 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.189367269002105] Failed to read output from testmodel.py, exit status != 0: 11.235422436999215 11.258645723 10.506460826 Calling exit ...