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.001782/0.001782, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002155/0.002155, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002471/0.002471, allocations: 280.8 kB / 309.8 MB, free: 3.508 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.07/1.07, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.003785/0.003785, allocations: 95.86 kB / 0.7347 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4846, allocations: 95.34 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.185/0.6695, allocations: 151.4 MB / 0.9757 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005642/0.6752, allocations: 4.715 MB / 0.9803 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.6754, allocations: 7.938 kB / 0.9803 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.6759, allocations: 170.8 kB / 0.9805 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.6762, allocations: 87.44 kB / 0.9806 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.6764, allocations: 59.92 kB / 0.9806 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.6768, allocations: 306.8 kB / 0.9809 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.677, allocations: 107.2 kB / 0.981 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.6772, allocations: 115.5 kB / 0.9811 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.6774, allocations: 155.4 kB / 0.9813 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.6774, allocations: 16 kB / 0.9813 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.6775, allocations: 16 kB / 0.9813 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.6776, allocations: 71.69 kB / 0.9814 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.6777, allocations: 111.4 kB / 0.9815 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.6779, allocations: 237.7 kB / 0.9817 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.678, allocations: 0 / 0.9817 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.678, allocations: 0 / 0.9817 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.678, allocations: 0 / 0.9817 GB, free: 12.05 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.0005367/0.6785, allocations: 494.9 kB / 0.9822 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.6785, allocations: 8.031 kB / 0.9822 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.655e-05/0.6785, allocations: 8.625 kB / 0.9822 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.6786, allocations: 58.72 kB / 0.9823 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.6787, allocations: 32.75 kB / 0.9823 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.679, allocations: 267.9 kB / 0.9825 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6791, allocations: 20.75 kB / 0.9826 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.6791, allocations: 28.12 kB / 0.9826 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.6795, allocations: 304.9 kB / 0.9829 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6795, allocations: 7.938 kB / 0.9829 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.6796, allocations: 8 kB / 0.9829 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.6796, allocations: 11.98 kB / 0.9829 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.6798, allocations: 123.7 kB / 0.983 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.6812, allocations: 1.966 MB / 0.9849 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.6814, allocations: 177.1 kB / 0.9851 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.6814, allocations: 84.14 kB / 0.9852 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.6814, allocations: 75.28 kB / 0.9853 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.6815, allocations: 105.8 kB / 0.9854 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6815, allocations: 0 / 0.9854 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.17e-05/0.6816, allocations: 53.5 kB / 0.9854 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.6816, allocations: 130.6 kB / 0.9855 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.682, allocations: 340.5 kB / 0.9859 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.6821, allocations: 25.7 kB / 0.9859 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6822, allocations: 159.9 kB / 0.986 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.6822, allocations: 0 / 0.986 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.6822, allocations: 29.66 kB / 0.9861 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6824, allocations: 334.8 kB / 0.9864 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.6824, allocations: 4 kB / 0.9864 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.6825, allocations: 58.86 kB / 0.9865 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.6826, allocations: 82.67 kB / 0.9865 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6826, allocations: 0 / 0.9865 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001775/0.6828, allocations: 101.4 kB / 0.9866 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6828, allocations: 12.19 kB / 0.9866 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6828, allocations: 4 kB / 0.9866 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6828, allocations: 3.984 kB / 0.9866 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.6829, allocations: 12 kB / 0.9867 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6829, allocations: 4 kB / 0.9867 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.6829, allocations: 27.78 kB / 0.9867 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.683, allocations: 4 kB / 0.9867 GB, free: 6.559 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.0001543/0.6831, allocations: 217 kB / 0.9869 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.6832, allocations: 132.8 kB / 0.987 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.6833, allocations: 125.8 kB / 0.9871 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/0.6834, allocations: 184.2 kB / 0.9873 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-05/0.6834, allocations: 180.3 kB / 0.9875 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.04e-05/0.6835, allocations: 184.2 kB / 0.9877 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.6839, allocations: 477.1 kB / 0.9881 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.413e-05/0.6839, allocations: 109 kB / 0.9882 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.684, allocations: 108.9 kB / 0.9883 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.013e-05/0.6841, allocations: 180.4 kB / 0.9885 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.6841, allocations: 184.2 kB / 0.9887 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.986e-05/0.6842, allocations: 180.2 kB / 0.9889 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.853e-05/0.6843, allocations: 192.2 kB / 0.989 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.6845, allocations: 323.6 kB / 0.9893 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.6846, allocations: 209.9 kB / 0.9895 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6847, allocations: 180.2 kB / 0.9897 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6848, allocations: 108.9 kB / 0.9898 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.6849, allocations: 188.2 kB / 0.99 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.685, allocations: 101 kB / 0.9901 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002565/0.6852, allocations: 235 kB / 0.9903 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.6852, allocations: 0 / 0.9903 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002627/0.6855, allocations: 28 kB / 0.9903 GB, free: 2.586 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.000503/0.686, allocations: 0.832 MB / 0.9912 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.6861, allocations: 23.94 kB / 0.9912 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6861, allocations: 0 / 0.9912 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.6861, allocations: 0 / 0.9912 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.6868, allocations: 0.5332 MB / 0.9917 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.6896, allocations: 2.516 MB / 0.9942 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.69, allocations: 0.7401 MB / 0.9949 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.964e-05/0.6901, allocations: 30.28 kB / 0.9949 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.6902, allocations: 63.42 kB / 0.995 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.6902, allocations: 0 / 0.995 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.7121, allocations: 4.881 MB / 0.9997 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/9.024, allocations: 9.875 kB / 0.9997 GB, free: 9 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: 13.007914186979178] Failed to read output from testmodel.py, exit status != 0: 9.155743019015063 9.168871515 8.487999805 Calling exit ...