Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.0008313/0.0008313, 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.0008551/0.0008551, allocations: 165.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.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7105/0.7105, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.737e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.398/0.398, allocations: 153 MB / 0.7675 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.4009, allocations: 1.764 MB / 0.7692 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.4012, allocations: 24.56 kB / 0.7692 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.4019, allocations: 223.1 kB / 0.7694 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.4036, allocations: 0.7845 MB / 0.7702 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.4054, allocations: 0.9211 MB / 0.7711 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009625/0.4064, allocations: 0.8514 MB / 0.7719 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.4067, allocations: 234 kB / 0.7721 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.4078, allocations: 0.705 MB / 0.7728 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.408, allocations: 234 kB / 0.7731 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.4081, allocations: 26.59 kB / 0.7731 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.4096, allocations: 0.904 MB / 0.774 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.4097, allocations: 126 kB / 0.7741 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4098, allocations: 142.5 kB / 0.7742 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.4109, allocations: 0.9255 MB / 0.7751 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4109, allocations: 4 kB / 0.7751 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4109, allocations: 0 / 0.7751 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4109, allocations: 1.125 kB / 0.7751 GB, free: 0.832 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00109/0.412, allocations: 0.7084 MB / 0.7758 GB, free: 340 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4121, allocations: 9.547 kB / 0.7758 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.4121, allocations: 63.03 kB / 0.7759 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.4127, allocations: 167.5 kB / 0.7761 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.4132, allocations: 302.9 kB / 0.7763 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4132, allocations: 20.86 kB / 0.7764 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.4133, allocations: 30.81 kB / 0.7764 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.4139, allocations: 395.4 kB / 0.7768 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4139, allocations: 0.6875 kB / 0.7768 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.4139, allocations: 11.5 kB / 0.7768 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.4139, allocations: 16.44 kB / 0.7768 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.4144, allocations: 342.2 kB / 0.7771 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.4157, allocations: 1.311 MB / 0.7784 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.4161, allocations: 227.4 kB / 0.7786 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4162, allocations: 130.6 kB / 0.7787 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.4165, allocations: 81.59 kB / 0.7788 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4166, allocations: 36.78 kB / 0.7789 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4166, allocations: 0 / 0.7789 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0006599/0.4172, allocations: 377.6 kB / 0.7792 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4173, allocations: 58.25 kB / 0.7793 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.4176, allocations: 361.8 kB / 0.7796 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4176, allocations: 35.23 kB / 0.7797 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4177, allocations: 192.6 kB / 0.7798 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.4177, allocations: 72.19 kB / 0.7799 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.4178, allocations: 51.22 kB / 0.78 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4179, allocations: 342.2 kB / 0.7803 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.418, allocations: 93.67 kB / 0.7804 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.4182, allocations: 225.9 kB / 0.7806 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.4185, allocations: 250.7 kB / 0.7808 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4185, allocations: 5.344 kB / 0.7808 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003845/0.4189, allocations: 319.8 kB / 0.7811 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4189, allocations: 6.156 kB / 0.7811 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4189, allocations: 0.9062 kB / 0.7811 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.419, allocations: 2.969 kB / 0.7811 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4191, allocations: 52.98 kB / 0.7812 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4191, allocations: 3.281 kB / 0.7812 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4193, allocations: 35.2 kB / 0.7812 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.4193, allocations: 18.41 kB / 0.7812 GB, free: 13.12 MB / 0.6511 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 (25): * Single equations (assignments): 25 * 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.0001239/0.4194, allocations: 157.5 kB / 0.7814 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.4195, allocations: 41.36 kB / 0.7814 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.4199, allocations: 295.8 kB / 0.7817 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4199, allocations: 2.844 kB / 0.7817 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4199, allocations: 0 / 0.7817 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4199, allocations: 3.141 kB / 0.7817 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.421, allocations: 0.8389 MB / 0.7825 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.421, allocations: 2.094 kB / 0.7825 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4211, allocations: 37.44 kB / 0.7826 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4211, allocations: 7.938 kB / 0.7826 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4211, allocations: 14.97 kB / 0.7826 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4211, allocations: 8.719 kB / 0.7826 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4211, allocations: 2.438 kB / 0.7826 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.4216, allocations: 443 kB / 0.783 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.4217, allocations: 57.72 kB / 0.7831 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4217, allocations: 14.28 kB / 0.7831 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4218, allocations: 14.42 kB / 0.7831 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.4219, allocations: 23.11 kB / 0.7831 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.4219, allocations: 12.81 kB / 0.7832 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002159/0.4221, allocations: 253.5 kB / 0.7834 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.4221, allocations: 1.562 kB / 0.7834 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003898/0.4225, allocations: 98.7 kB / 0.7835 GB, free: 11.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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 Backend phase and start with SimCode phase: time 0.000782/0.4233, allocations: 1.044 MB / 0.7845 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.4237, allocations: 237.5 kB / 0.7847 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4237, allocations: 384 / 0.7847 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.4238, allocations: 126 kB / 0.7849 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.4245, allocations: 211.8 kB / 0.7851 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.4277, allocations: 3.296 MB / 0.7883 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.4279, allocations: 201.7 kB / 0.7885 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.4281, allocations: 90.08 kB / 0.7886 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.4282, allocations: 112.6 kB / 0.7887 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/0.4282, allocations: 1.5 kB / 0.7887 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.4529, allocations: 12.22 MB / 0.8006 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.388, allocations: 8.297 kB / 0.8006 GB, free: 3.949 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.029779599048197] Failed to read output from testmodel.py, exit status != 0: 7.472491318359971 7.481899761 7.069048311 Calling exit ...