Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007614/0.0007614, allocations: 76.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.0008004/0.0008004, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8832/0.8832, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7007/0.7007, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.6181 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.25e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4077/0.4077, allocations: 153.6 MB / 0.7681 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006623/0.4144, allocations: 8.599 MB / 0.7765 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.4147, allocations: 11.94 kB / 0.7765 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.4152, allocations: 210.5 kB / 0.7767 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.4154, allocations: 99.19 kB / 0.7768 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4156, allocations: 63.91 kB / 0.7769 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.416, allocations: 338.5 kB / 0.7772 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.4163, allocations: 129.4 kB / 0.7773 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.4167, allocations: 243.3 kB / 0.7776 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4168, allocations: 91.69 kB / 0.7776 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.4168, allocations: 24 kB / 0.7777 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 2.332e-05/0.4168, allocations: 20 kB / 0.7777 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.4169, allocations: 75.73 kB / 0.7778 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.417, allocations: 91.77 kB / 0.7778 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.4172, allocations: 290.9 kB / 0.7781 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4172, allocations: 0 / 0.7781 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4172, allocations: 0 / 0.7781 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4172, allocations: 0 / 0.7781 GB, free: 12.68 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.0004506/0.4177, allocations: 455.7 kB / 0.7786 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4177, allocations: 8.031 kB / 0.7786 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.4178, allocations: 58.55 kB / 0.7786 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4178, allocations: 35.75 kB / 0.7787 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.4182, allocations: 220.7 kB / 0.7789 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4182, allocations: 16.66 kB / 0.7789 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.4182, allocations: 28 kB / 0.7789 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.4186, allocations: 330 kB / 0.7792 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4186, allocations: 0 / 0.7792 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4186, allocations: 12 kB / 0.7792 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4186, allocations: 8 kB / 0.7792 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.4188, allocations: 147.7 kB / 0.7794 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.4198, allocations: 1.73 MB / 0.7811 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.4198, allocations: 173.1 kB / 0.7812 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.4199, allocations: 80.14 kB / 0.7813 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4199, allocations: 87.27 kB / 0.7814 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.4199, allocations: 105.8 kB / 0.7815 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.664e-06/0.4199, allocations: 0 / 0.7815 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.116e-05/0.42, allocations: 57.5 kB / 0.7815 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4201, allocations: 130.6 kB / 0.7817 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.4204, allocations: 381.6 kB / 0.782 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4204, allocations: 25.7 kB / 0.7821 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.4205, allocations: 167.9 kB / 0.7822 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.4205, allocations: 4 kB / 0.7822 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.4205, allocations: 17.72 kB / 0.7822 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4206, allocations: 334.8 kB / 0.7826 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.4206, allocations: 8 kB / 0.7826 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.4206, allocations: 40.28 kB / 0.7826 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.4207, allocations: 44.27 kB / 0.7827 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4207, allocations: 0 / 0.7827 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.4208, allocations: 89.52 kB / 0.7827 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4208, allocations: 6.344 kB / 0.7827 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4208, allocations: 10.44 kB / 0.7828 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4209, allocations: 0 / 0.7828 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.4209, allocations: 11.98 kB / 0.7828 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4209, allocations: 0 / 0.7828 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.421, allocations: 27.73 kB / 0.7828 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.421, allocations: 8 kB / 0.7828 GB, free: 7.602 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.000103/0.4211, allocations: 214 kB / 0.783 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.4212, allocations: 132.8 kB / 0.7831 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.4212, allocations: 134.7 kB / 0.7833 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.454e-05/0.4213, allocations: 188.2 kB / 0.7834 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.03e-05/0.4213, allocations: 176.3 kB / 0.7836 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-05/0.4213, allocations: 184.2 kB / 0.7838 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.4216, allocations: 444.2 kB / 0.7842 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.4216, allocations: 101.1 kB / 0.7843 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.4216, allocations: 112.9 kB / 0.7844 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.592e-05/0.4217, allocations: 180.2 kB / 0.7846 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4217, allocations: 188.1 kB / 0.7848 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.656e-05/0.4217, allocations: 180.3 kB / 0.7849 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.255e-05/0.4218, allocations: 176.3 kB / 0.7851 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.4219, allocations: 335.6 kB / 0.7854 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.422, allocations: 140.8 kB / 0.7856 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.422, allocations: 189 kB / 0.7857 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.4221, allocations: 101 kB / 0.7858 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.4222, allocations: 184.2 kB / 0.786 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4222, allocations: 101 kB / 0.7861 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001847/0.4224, allocations: 271.2 kB / 0.7864 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4224, allocations: 0 / 0.7864 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001732/0.4225, allocations: 31.95 kB / 0.7864 GB, free: 3.719 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.0003208/0.4229, allocations: 0.8281 MB / 0.7872 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.4229, allocations: 23.86 kB / 0.7872 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.423, allocations: 4 kB / 0.7872 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.423, allocations: 0 / 0.7872 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.4235, allocations: 0.5416 MB / 0.7878 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4256, allocations: 2.707 MB / 0.7904 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.4257, allocations: 142.2 kB / 0.7905 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 9.701e-05/0.4258, allocations: 34.97 kB / 0.7906 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.4259, allocations: 80.47 kB / 0.7906 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of SimCode: time 8.92e-07/0.4259, allocations: 0 / 0.7906 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4464, allocations: 6.989 MB / 0.7975 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.302, allocations: 10.06 kB / 0.7975 GB, free: 8.484 MB / 0.6667 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.860191958025098] Failed to read output from testmodel.py, exit status != 0: 7.3877131110057235 7.399135005 6.978869899 Calling exit ...