Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.00114/0.00114, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.001292/0.001292, allocations: 216 kB / 22.24 MB, free: 3.582 MB / 13.93 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.9601/0.9601, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.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.7908/0.7908, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001093/0.001093, allocations: 71 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5423, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1263/0.6686, allocations: 130.7 MB / 0.9455 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.672, allocations: 4.349 MB / 0.9497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.6724, allocations: 15.88 kB / 0.9497 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.6731, allocations: 166.9 kB / 0.9499 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.6735, allocations: 91.44 kB / 0.95 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.6736, allocations: 59.92 kB / 0.95 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.674, allocations: 302.6 kB / 0.9503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.6742, allocations: 71.19 kB / 0.9504 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.6744, allocations: 111.5 kB / 0.9505 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.6745, allocations: 131.5 kB / 0.9506 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.6745, allocations: 8 kB / 0.9506 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.6746, allocations: 16 kB / 0.9507 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.6746, allocations: 27.86 kB / 0.9507 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.6746, allocations: 59.67 kB / 0.9507 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.6748, allocations: 173.4 kB / 0.9509 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6748, allocations: 0 / 0.9509 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6748, allocations: 0 / 0.9509 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.6748, allocations: 0 / 0.9509 GB, free: 12.88 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003405/0.6752, allocations: 373.4 kB / 0.9513 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6752, allocations: 8.031 kB / 0.9513 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.6753, allocations: 46.73 kB / 0.9513 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.6753, allocations: 28.8 kB / 0.9513 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.6755, allocations: 190.8 kB / 0.9515 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.6755, allocations: 12.12 kB / 0.9515 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.6756, allocations: 16 kB / 0.9515 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.6758, allocations: 212.7 kB / 0.9517 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.6758, allocations: 0 / 0.9517 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.6758, allocations: 8 kB / 0.9518 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.6758, allocations: 8 kB / 0.9518 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.6759, allocations: 75.77 kB / 0.9518 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.6766, allocations: 1.521 MB / 0.9533 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/0.6767, allocations: 173 kB / 0.9535 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.6767, allocations: 88.06 kB / 0.9536 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.6767, allocations: 75.28 kB / 0.9536 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.6769, allocations: 109.8 kB / 0.9537 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.6769, allocations: 0 / 0.9537 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.05e-05/0.677, allocations: 49.5 kB / 0.9538 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.677, allocations: 130.7 kB / 0.9539 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.6772, allocations: 245.9 kB / 0.9542 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.6772, allocations: 29.64 kB / 0.9542 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.6773, allocations: 147.9 kB / 0.9543 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/0.6773, allocations: 0 / 0.9543 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.6773, allocations: 21.7 kB / 0.9543 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.6774, allocations: 326.8 kB / 0.9547 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.6774, allocations: 4 kB / 0.9547 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.6775, allocations: 50 kB / 0.9547 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.6775, allocations: 65.89 kB / 0.9548 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6775, allocations: 7.938 kB / 0.9548 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.6777, allocations: 89.42 kB / 0.9549 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6777, allocations: 8.219 kB / 0.9549 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.6777, allocations: 4 kB / 0.9549 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.6777, allocations: 0 / 0.9549 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.6778, allocations: 19.92 kB / 0.9549 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6778, allocations: 0 / 0.9549 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.6778, allocations: 23.78 kB / 0.9549 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.6778, allocations: 4 kB / 0.9549 GB, free: 8.426 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 8.309e-05/0.6779, allocations: 197.1 kB / 0.9551 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.678, allocations: 124.8 kB / 0.9552 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.678, allocations: 117.8 kB / 0.9553 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/0.678, allocations: 184.3 kB / 0.9555 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.342e-05/0.6781, allocations: 188.2 kB / 0.9557 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-05/0.6781, allocations: 180.3 kB / 0.9559 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.6783, allocations: 424.1 kB / 0.9563 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/0.6783, allocations: 105 kB / 0.9564 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.6783, allocations: 101 kB / 0.9565 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.344e-05/0.6784, allocations: 184.2 kB / 0.9566 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.6784, allocations: 176.3 kB / 0.9568 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-05/0.6785, allocations: 184.2 kB / 0.957 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.063e-05/0.6785, allocations: 184.3 kB / 0.9572 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.6786, allocations: 323.8 kB / 0.9575 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6787, allocations: 128.9 kB / 0.9576 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.6787, allocations: 184.2 kB / 0.9578 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.6788, allocations: 105 kB / 0.9579 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.6788, allocations: 180.3 kB / 0.958 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.6788, allocations: 108.9 kB / 0.9581 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001056/0.6789, allocations: 185.1 kB / 0.9583 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.6789, allocations: 0 / 0.9583 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001609/0.6791, allocations: 20 kB / 0.9583 GB, free: 4.719 MB / 0.7292 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.0002702/0.6794, allocations: 0.8204 MB / 0.9591 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.6795, allocations: 31.86 kB / 0.9592 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6795, allocations: 0 / 0.9592 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.6795, allocations: 0 / 0.9592 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.6799, allocations: 0.4996 MB / 0.9597 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.6815, allocations: 2.053 MB / 0.9617 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.6815, allocations: 104.1 kB / 0.9618 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.713e-05/0.6816, allocations: 17.62 kB / 0.9618 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.6816, allocations: 51.36 kB / 0.9618 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.6816, allocations: 0 / 0.9618 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.7007, allocations: 4.282 MB / 0.966 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.518/7.219, allocations: 6.812 kB / 0.966 GB, free: 12.86 MB / 0.7448 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.165521663147956] Failed to read output from testmodel.py, exit status != 0: 7.300736466888338 7.309745485 6.633092727 Calling exit ...