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.0008287/0.0008287, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009993/0.0009993, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9095/0.9095, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6934/0.6934, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.352e-06/1.352e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.03e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3814/0.3814, allocations: 153.6 MB / 0.768 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005597/0.387, allocations: 8.618 MB / 0.7765 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.3872, allocations: 13.97 kB / 0.7765 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.3877, allocations: 201.9 kB / 0.7767 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.3879, allocations: 95.08 kB / 0.7768 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3881, allocations: 61.12 kB / 0.7768 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.3884, allocations: 344.5 kB / 0.7771 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.3886, allocations: 128.4 kB / 0.7773 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.389, allocations: 234.5 kB / 0.7775 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3891, allocations: 91.28 kB / 0.7776 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.3891, allocations: 21.78 kB / 0.7776 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.3891, allocations: 21.94 kB / 0.7776 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.3892, allocations: 79.88 kB / 0.7777 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.3893, allocations: 83.23 kB / 0.7778 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3896, allocations: 293.8 kB / 0.7781 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3896, allocations: 4 kB / 0.7781 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3896, allocations: 0 / 0.7781 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3896, allocations: 1.406 kB / 0.7781 GB, free: 13.56 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.0003866/0.39, allocations: 445.6 kB / 0.7785 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.39, allocations: 16.16 kB / 0.7785 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.39, allocations: 61.39 kB / 0.7786 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3901, allocations: 34.84 kB / 0.7786 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3904, allocations: 221.1 kB / 0.7788 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3904, allocations: 20.16 kB / 0.7788 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3904, allocations: 23.88 kB / 0.7788 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3907, allocations: 326.2 kB / 0.7792 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3908, allocations: 1.656 kB / 0.7792 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3908, allocations: 11.94 kB / 0.7792 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3908, allocations: 6.844 kB / 0.7792 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.391, allocations: 144.9 kB / 0.7793 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.3919, allocations: 1.735 MB / 0.781 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.3919, allocations: 170.2 kB / 0.7812 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.3919, allocations: 82.42 kB / 0.7813 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.392, allocations: 79.28 kB / 0.7813 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.392, allocations: 108.2 kB / 0.7814 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.392, allocations: 3.938 kB / 0.7814 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.109e-05/0.3921, allocations: 62.86 kB / 0.7815 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3921, allocations: 128 kB / 0.7816 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.3924, allocations: 382 kB / 0.782 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3924, allocations: 26.8 kB / 0.782 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.3925, allocations: 171.1 kB / 0.7822 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.3925, allocations: 1.062 kB / 0.7822 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.3925, allocations: 20.02 kB / 0.7822 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.3926, allocations: 337.1 kB / 0.7825 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.3926, allocations: 5.656 kB / 0.7825 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.3926, allocations: 34.14 kB / 0.7826 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.3927, allocations: 49.41 kB / 0.7826 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3927, allocations: 4 kB / 0.7826 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.3928, allocations: 82.89 kB / 0.7827 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3928, allocations: 5.75 kB / 0.7827 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3928, allocations: 5.531 kB / 0.7827 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3928, allocations: 1.438 kB / 0.7827 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.3929, allocations: 9.672 kB / 0.7827 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3929, allocations: 2.125 kB / 0.7827 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3929, allocations: 31.48 kB / 0.7827 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3929, allocations: 6.312 kB / 0.7827 GB, free: 9.508 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 9.451e-05/0.393, allocations: 215.8 kB / 0.7829 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.3931, allocations: 130.4 kB / 0.7831 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.3931, allocations: 137.2 kB / 0.7832 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-05/0.3932, allocations: 187.1 kB / 0.7834 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-05/0.3932, allocations: 177.6 kB / 0.7835 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.75e-05/0.3933, allocations: 184.8 kB / 0.7837 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3935, allocations: 448.5 kB / 0.7842 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.3936, allocations: 106.6 kB / 0.7843 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.3936, allocations: 102.7 kB / 0.7844 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-05/0.3936, allocations: 183.1 kB / 0.7845 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.3937, allocations: 190 kB / 0.7847 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-05/0.3937, allocations: 178.9 kB / 0.7849 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.879e-05/0.3937, allocations: 181.8 kB / 0.7851 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.3938, allocations: 326 kB / 0.7854 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3939, allocations: 139.3 kB / 0.7855 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.394, allocations: 190 kB / 0.7857 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.394, allocations: 106.8 kB / 0.7858 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.3941, allocations: 178 kB / 0.7859 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.3941, allocations: 103 kB / 0.786 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002119/0.3943, allocations: 270.8 kB / 0.7863 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3943, allocations: 5.25 kB / 0.7863 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001819/0.3945, allocations: 34.73 kB / 0.7863 GB, free: 5.93 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.0002738/0.3948, allocations: 0.8216 MB / 0.7871 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.928e-05/0.3948, allocations: 21.8 kB / 0.7872 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3948, allocations: 0 / 0.7872 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.3948, allocations: 1.188 kB / 0.7872 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.3954, allocations: 0.554 MB / 0.7877 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.3974, allocations: 2.704 MB / 0.7903 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3976, allocations: 145.9 kB / 0.7905 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.013e-05/0.3976, allocations: 33.8 kB / 0.7905 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.3977, allocations: 81.39 kB / 0.7906 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of SimCode: time 6.72e-07/0.3977, allocations: 0 / 0.7906 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.4173, allocations: 6.98 MB / 0.7974 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.483, allocations: 11 kB / 0.7974 GB, free: 1.301 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.064851135015488] Failed to read output from testmodel.py, exit status != 0: 7.567251969128847 7.576949842 7.185642234 Calling exit ...