Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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.0008667/0.0008667, 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.000919/0.000919, 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.8859/0.8859, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7325/0.7325, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.288e-05, allocations: 4.625 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4203/0.4203, allocations: 150.4 MB / 0.765 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003945/0.4242, allocations: 5.466 MB / 0.7703 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.4245, allocations: 14.34 kB / 0.7703 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.425, allocations: 202.2 kB / 0.7705 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.4253, allocations: 96.41 kB / 0.7706 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4263, allocations: 0.5351 MB / 0.7711 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.4266, allocations: 426.8 kB / 0.7716 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4268, allocations: 84.5 kB / 0.7716 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.4271, allocations: 255.8 kB / 0.7719 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.4273, allocations: 126.2 kB / 0.772 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.4273, allocations: 17.03 kB / 0.772 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.4278, allocations: 384.6 kB / 0.7724 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.4279, allocations: 71.41 kB / 0.7725 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.428, allocations: 71.8 kB / 0.7725 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.4285, allocations: 468.4 kB / 0.773 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4285, allocations: 5.125 kB / 0.773 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4285, allocations: 0 / 0.773 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4285, allocations: 0 / 0.773 GB, free: 1.395 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004209/0.4289, allocations: 464.7 kB / 0.7734 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.429, allocations: 10.06 kB / 0.7734 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.429, allocations: 59.88 kB / 0.7735 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.4292, allocations: 43.45 kB / 0.7735 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4295, allocations: 198.8 kB / 0.7737 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.4296, allocations: 240.3 kB / 0.7739 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.4296, allocations: 23.53 kB / 0.774 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.4299, allocations: 291.4 kB / 0.7742 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4299, allocations: 1.609 kB / 0.7742 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.43, allocations: 14.66 kB / 0.7743 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.43, allocations: 6.75 kB / 0.7743 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.4302, allocations: 160.2 kB / 0.7744 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/0.4312, allocations: 1.511 MB / 0.7759 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.4312, allocations: 171.5 kB / 0.7761 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.4313, allocations: 85.8 kB / 0.7761 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4313, allocations: 75.28 kB / 0.7762 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4313, allocations: 111.3 kB / 0.7763 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4313, allocations: 0 / 0.7763 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 6.862e-05/0.4314, allocations: 43.77 kB / 0.7764 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4314, allocations: 135.2 kB / 0.7765 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.4317, allocations: 319.4 kB / 0.7768 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.4317, allocations: 29.7 kB / 0.7768 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4318, allocations: 194 kB / 0.777 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.4318, allocations: 2.547 kB / 0.777 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.4319, allocations: 47.28 kB / 0.7771 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.432, allocations: 329.8 kB / 0.7774 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.4321, allocations: 39.88 kB / 0.7774 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4322, allocations: 160.2 kB / 0.7776 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.4323, allocations: 202.1 kB / 0.7777 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4323, allocations: 1.312 kB / 0.7777 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002986/0.4326, allocations: 211.7 kB / 0.778 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4326, allocations: 6 kB / 0.778 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4326, allocations: 4.969 kB / 0.778 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4327, allocations: 6.125 kB / 0.778 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4328, allocations: 42.19 kB / 0.778 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4328, allocations: 10.84 kB / 0.778 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.4329, allocations: 34.31 kB / 0.7781 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.4329, allocations: 10.47 kB / 0.7781 GB, free: 12.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001067/0.433, allocations: 224.3 kB / 0.7783 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.4331, allocations: 123.2 kB / 0.7784 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.4331, allocations: 124.8 kB / 0.7785 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-05/0.4332, allocations: 182.6 kB / 0.7787 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-05/0.4332, allocations: 185.8 kB / 0.7789 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-05/0.4332, allocations: 178 kB / 0.779 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.4335, allocations: 441.6 kB / 0.7795 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/0.4335, allocations: 111 kB / 0.7796 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.4335, allocations: 109.3 kB / 0.7797 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/0.4336, allocations: 183.2 kB / 0.7798 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.4336, allocations: 182.2 kB / 0.78 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.407e-05/0.4337, allocations: 178.3 kB / 0.7802 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.291e-05/0.4337, allocations: 189.9 kB / 0.7804 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.4338, allocations: 325.1 kB / 0.7807 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.4339, allocations: 130.1 kB / 0.7808 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.4339, allocations: 178.1 kB / 0.781 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.434, allocations: 110.5 kB / 0.7811 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.434, allocations: 183.1 kB / 0.7812 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.4341, allocations: 107.1 kB / 0.7813 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001807/0.4343, allocations: 216.8 kB / 0.7816 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4343, allocations: 0 / 0.7816 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002888/0.4345, allocations: 56.02 kB / 0.7816 GB, free: 9.438 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.0004056/0.4349, allocations: 0.8494 MB / 0.7824 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.4351, allocations: 78.72 kB / 0.7825 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4351, allocations: 0 / 0.7825 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.4351, allocations: 1.125 kB / 0.7825 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4355, allocations: 491.5 kB / 0.783 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4375, allocations: 2.496 MB / 0.7854 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4376, allocations: 134.9 kB / 0.7855 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000102/0.4377, allocations: 35.05 kB / 0.7856 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.4378, allocations: 56.42 kB / 0.7856 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.4378, allocations: 0 / 0.7856 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.4557, allocations: 4.725 MB / 0.7903 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/6.983, allocations: 12.38 kB / 0.7903 GB, free: 4.918 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.682848347350955] Failed to read output from testmodel.py, exit status != 0: 7.06524242926389 7.080308871 6.649257026 Calling exit ...