Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001176/0.001176, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0008695/0.0008695, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.8853/0.8853, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7096/0.7096, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.091e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3919/0.3919, allocations: 153.6 MB / 0.7681 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.3986, allocations: 8.608 MB / 0.7765 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.399, allocations: 11.72 kB / 0.7765 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.3998, allocations: 198 kB / 0.7767 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.4, allocations: 102.6 kB / 0.7768 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.4003, allocations: 61.19 kB / 0.7768 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.4006, allocations: 344.1 kB / 0.7771 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.4009, allocations: 126.6 kB / 0.7773 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.4013, allocations: 232.5 kB / 0.7775 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.4014, allocations: 90.28 kB / 0.7776 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.4015, allocations: 21.69 kB / 0.7776 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 2.669e-05/0.4015, allocations: 21.59 kB / 0.7776 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.4016, allocations: 84.27 kB / 0.7777 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.4016, allocations: 80.11 kB / 0.7778 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.402, allocations: 301 kB / 0.7781 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.402, allocations: 0 / 0.7781 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/0.402, allocations: 0 / 0.7781 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.402, allocations: 2.094 kB / 0.7781 GB, free: 13.73 MB / 0.6511 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.0004519/0.4024, allocations: 446.6 kB / 0.7785 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4025, allocations: 10.41 kB / 0.7785 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.4025, allocations: 61.34 kB / 0.7786 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.4026, allocations: 35.16 kB / 0.7786 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.4029, allocations: 229.3 kB / 0.7788 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4029, allocations: 19.81 kB / 0.7788 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4029, allocations: 25.03 kB / 0.7789 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.4033, allocations: 318.3 kB / 0.7792 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4033, allocations: 5.438 kB / 0.7792 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.4033, allocations: 10.84 kB / 0.7792 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4033, allocations: 8.812 kB / 0.7792 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.4035, allocations: 144.7 kB / 0.7793 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.4045, allocations: 1.737 MB / 0.781 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.4046, allocations: 171.6 kB / 0.7812 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.4046, allocations: 81.39 kB / 0.7813 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.4046, allocations: 75.28 kB / 0.7813 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4047, allocations: 113 kB / 0.7814 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4047, allocations: 0 / 0.7814 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.4047, allocations: 62.14 kB / 0.7815 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4048, allocations: 128.8 kB / 0.7816 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.4051, allocations: 383.2 kB / 0.782 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.4051, allocations: 25.7 kB / 0.782 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4052, allocations: 169.7 kB / 0.7822 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-06/0.4052, allocations: 1.094 kB / 0.7822 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4053, allocations: 17.02 kB / 0.7822 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.4053, allocations: 335.5 kB / 0.7825 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.4054, allocations: 8.188 kB / 0.7825 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.4054, allocations: 36.2 kB / 0.7826 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.4054, allocations: 51.3 kB / 0.7826 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4054, allocations: 0 / 0.7826 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001285/0.4056, allocations: 84.38 kB / 0.7827 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4056, allocations: 5.906 kB / 0.7827 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4056, allocations: 5.875 kB / 0.7827 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4056, allocations: 1.25 kB / 0.7827 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.4057, allocations: 13.84 kB / 0.7827 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4057, allocations: 5.406 kB / 0.7827 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.4057, allocations: 28.5 kB / 0.7827 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4057, allocations: 2.562 kB / 0.7827 GB, free: 9.68 MB / 0.6511 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.0001018/0.4058, allocations: 211.4 kB / 0.7829 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.4059, allocations: 138.7 kB / 0.7831 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/0.4059, allocations: 133.4 kB / 0.7832 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-05/0.406, allocations: 178.4 kB / 0.7834 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/0.406, allocations: 182.6 kB / 0.7835 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-05/0.4061, allocations: 185.7 kB / 0.7837 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.4063, allocations: 449.2 kB / 0.7842 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.4063, allocations: 106.9 kB / 0.7843 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.4063, allocations: 103 kB / 0.7844 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.4065, allocations: 182.3 kB / 0.7845 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.4066, allocations: 185.1 kB / 0.7847 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.183e-05/0.4066, allocations: 186.3 kB / 0.7849 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.115e-05/0.4066, allocations: 182.2 kB / 0.7851 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4068, allocations: 329.9 kB / 0.7854 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.4068, allocations: 135 kB / 0.7855 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.4069, allocations: 187 kB / 0.7857 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.407, allocations: 102.6 kB / 0.7858 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.407, allocations: 185.9 kB / 0.786 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.407, allocations: 110.7 kB / 0.7861 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002255/0.4073, allocations: 267.8 kB / 0.7863 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4073, allocations: 1.062 kB / 0.7863 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001824/0.4074, allocations: 31.73 kB / 0.7863 GB, free: 6.105 MB / 0.6511 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.0002921/0.4077, allocations: 0.8237 MB / 0.7871 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.4078, allocations: 22.36 kB / 0.7872 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4078, allocations: 0 / 0.7872 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4078, allocations: 1.438 kB / 0.7872 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.4084, allocations: 0.5546 MB / 0.7877 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.4106, allocations: 2.7 MB / 0.7903 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.4107, allocations: 151.1 kB / 0.7905 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.4108, allocations: 33.02 kB / 0.7905 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.4109, allocations: 75.56 kB / 0.7906 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/0.4109, allocations: 0 / 0.7906 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.43, allocations: 6.986 MB / 0.7974 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.531, allocations: 3.938 kB / 0.7974 GB, free: 1.477 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.25394085329026] Failed to read output from testmodel.py, exit status != 0: 7.616020165383816 7.626117095 7.222304879 Calling exit ...