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.001372/0.001372, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00138/0.00138, allocations: 215.7 kB / 23.04 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 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.002609/0.002609, allocations: 290.4 kB / 313.5 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.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 13.13 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.002833/0.002833, allocations: 111.1 kB / 0.7404 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 95.37 MB / 0.8335 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1798/0.3439, allocations: 151.6 MB / 0.9816 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3927/0.7366, allocations: 4.758 MB / 0.9862 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.7369, allocations: 13.09 kB / 0.9863 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.7374, allocations: 169.6 kB / 0.9864 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.7378, allocations: 88.73 kB / 0.9865 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.7379, allocations: 71.92 kB / 0.9866 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.7383, allocations: 305.1 kB / 0.9869 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.7386, allocations: 101.8 kB / 0.987 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.7388, allocations: 123.7 kB / 0.9871 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.739, allocations: 156.3 kB / 0.9872 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.7391, allocations: 17.12 kB / 0.9872 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.7391, allocations: 16.28 kB / 0.9873 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.7392, allocations: 62.89 kB / 0.9873 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.7393, allocations: 109.2 kB / 0.9874 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.7396, allocations: 234.7 kB / 0.9876 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7396, allocations: 3.938 kB / 0.9876 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7396, allocations: 1.031 kB / 0.9876 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.7397, allocations: 2.234 kB / 0.9877 GB, free: 3.305 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.0007029/0.7404, allocations: 422.3 kB / 0.9881 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7404, allocations: 10.97 kB / 0.9881 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.231e-05/0.7404, allocations: 7.625 kB / 0.9881 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.7405, allocations: 60.11 kB / 0.9881 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.7405, allocations: 31.41 kB / 0.9882 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.741, allocations: 205.6 kB / 0.9884 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.741, allocations: 17.91 kB / 0.9884 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.741, allocations: 17.72 kB / 0.9884 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.7414, allocations: 309.5 kB / 0.9887 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7414, allocations: 0.9062 kB / 0.9887 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.7414, allocations: 16.48 kB / 0.9887 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.7414, allocations: 6.594 kB / 0.9887 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.7416, allocations: 122.6 kB / 0.9888 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.743, allocations: 1.926 MB / 0.9907 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.7431, allocations: 167.2 kB / 0.9909 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.7432, allocations: 84.83 kB / 0.9909 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.7432, allocations: 76.22 kB / 0.991 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.7433, allocations: 113 kB / 0.9911 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7433, allocations: 1.094 kB / 0.9911 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.692e-05/0.7434, allocations: 57 kB / 0.9912 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.7434, allocations: 128.1 kB / 0.9913 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.7439, allocations: 334.9 kB / 0.9916 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.7439, allocations: 28.8 kB / 0.9916 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.744, allocations: 165 kB / 0.9918 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.744, allocations: 1.031 kB / 0.9918 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.744, allocations: 24.97 kB / 0.9918 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7442, allocations: 331.7 kB / 0.9921 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.7442, allocations: 9.594 kB / 0.9922 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.7443, allocations: 58.58 kB / 0.9922 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.7443, allocations: 73.05 kB / 0.9923 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7443, allocations: 1 kB / 0.9923 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000187/0.7445, allocations: 105.1 kB / 0.9924 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7445, allocations: 6.484 kB / 0.9924 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7446, allocations: 6.875 kB / 0.9924 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.7446, allocations: 2.938 kB / 0.9924 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.7446, allocations: 17.69 kB / 0.9924 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7447, allocations: 10.14 kB / 0.9924 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.7447, allocations: 28.31 kB / 0.9925 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.7447, allocations: 4.531 kB / 0.9925 GB, free: 15.55 MB / 0.7325 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.0001526/0.7449, allocations: 210.9 kB / 0.9927 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.745, allocations: 128.8 kB / 0.9928 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.7451, allocations: 133.7 kB / 0.9929 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/0.7451, allocations: 180.9 kB / 0.9931 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-05/0.7452, allocations: 179.8 kB / 0.9933 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-05/0.7453, allocations: 182.6 kB / 0.9934 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.7456, allocations: 447.2 kB / 0.9939 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.427e-05/0.7456, allocations: 107 kB / 0.994 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.7457, allocations: 103.8 kB / 0.9941 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.289e-05/0.7458, allocations: 184.7 kB / 0.9942 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/0.7458, allocations: 183 kB / 0.9944 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/0.7459, allocations: 182.1 kB / 0.9946 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.787e-05/0.746, allocations: 178.7 kB / 0.9947 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.7462, allocations: 332.5 kB / 0.9951 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.7463, allocations: 136.4 kB / 0.9952 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7464, allocations: 184.8 kB / 0.9954 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.7465, allocations: 110.9 kB / 0.9955 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.7466, allocations: 176.9 kB / 0.9956 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.7466, allocations: 108.1 kB / 0.9957 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002486/0.7469, allocations: 238.8 kB / 0.996 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.7469, allocations: 0 / 0.996 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002668/0.7471, allocations: 27.75 kB / 0.996 GB, free: 12.16 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.0004564/0.7476, allocations: 0.8284 MB / 0.9968 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.7477, allocations: 24.5 kB / 0.9968 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7477, allocations: 1.094 kB / 0.9968 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.7477, allocations: 0.875 kB / 0.9968 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.7484, allocations: 0.5301 MB / 0.9974 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.7506, allocations: 2.513 MB / 0.9998 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.751, allocations: 0.7453 MB / 1.001 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.967e-05/0.7511, allocations: 27.25 kB / 1.001 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.7511, allocations: 59.94 kB / 1.001 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.7511, allocations: 0.9375 kB / 1.001 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.7762, allocations: 4.995 MB / 1.005 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.04, allocations: 11.2 kB / 1.006 GB, free: 8.172 MB / 0.7325 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 & /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: 16.168694696971215] Failed to read output from testmodel.py, exit status != 0: 12.205368103983346 12.218429991 11.476330677 Calling exit ...