Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001307/0.001307, allocations: 120.9 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001373/0.001373, allocations: 208 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002434/0.002434, allocations: 281.4 kB / 309.8 MB, free: 3.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.115/1.115, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00281/0.00281, allocations: 107.8 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5242, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2087/0.733, allocations: 164.7 MB / 0.9886 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.7351, allocations: 0.9651 MB / 0.9896 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.7355, allocations: 11.88 kB / 0.9896 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.7361, allocations: 166.9 kB / 0.9898 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.7379, allocations: 0.6692 MB / 0.9904 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.7386, allocations: 217.6 kB / 0.9906 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.7394, allocations: 0.511 MB / 0.9911 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.7397, allocations: 156.2 kB / 0.9913 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.7401, allocations: 239.1 kB / 0.9915 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.7404, allocations: 175.2 kB / 0.9917 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.7404, allocations: 16 kB / 0.9917 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009812/0.7414, allocations: 0.5805 MB / 0.9922 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.7415, allocations: 87.77 kB / 0.9923 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.7416, allocations: 111.4 kB / 0.9924 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.7423, allocations: 489.2 kB / 0.9929 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7423, allocations: 3.938 kB / 0.9929 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7423, allocations: 0 / 0.9929 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7424, allocations: 0 / 0.9929 GB, free: 0.4961 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001556/0.7439, allocations: 0.6073 MB / 0.9935 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.744, allocations: 12.03 kB / 0.9935 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.744, allocations: 8.328 kB / 0.9935 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.744, allocations: 46.55 kB / 0.9936 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.7443, allocations: 55.81 kB / 0.9936 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.7448, allocations: 287.1 kB / 0.9939 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.7448, allocations: 8.328 kB / 0.9939 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.7448, allocations: 20 kB / 0.9939 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.7453, allocations: 243.1 kB / 0.9941 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7454, allocations: 0 / 0.9941 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.7454, allocations: 4 kB / 0.9941 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.7454, allocations: 8 kB / 0.9942 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.746, allocations: 251.8 kB / 0.9944 GB, free: 14.86 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.7474, allocations: 0.8355 MB / 0.9952 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.7478, allocations: 137.6 kB / 0.9953 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.748, allocations: 108.9 kB / 0.9954 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.7483, allocations: 186.1 kB / 0.9956 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.7483, allocations: 50.41 kB / 0.9957 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.7483, allocations: 0 / 0.9957 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0008954/0.7492, allocations: 305.4 kB / 0.996 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7493, allocations: 51.41 kB / 0.996 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.7495, allocations: 241 kB / 0.9962 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.7496, allocations: 29.7 kB / 0.9963 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.7497, allocations: 136.3 kB / 0.9964 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.7497, allocations: 55.52 kB / 0.9965 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.7498, allocations: 41.7 kB / 0.9965 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.75, allocations: 330.8 kB / 0.9968 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7501, allocations: 67.94 kB / 0.9969 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.7504, allocations: 102.5 kB / 0.997 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.7508, allocations: 174.5 kB / 0.9971 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7508, allocations: 0 / 0.9971 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005013/0.7513, allocations: 216.8 kB / 0.9973 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7513, allocations: 8 kB / 0.9973 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7513, allocations: 3.984 kB / 0.9974 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.7513, allocations: 4.062 kB / 0.9974 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.7515, allocations: 31.92 kB / 0.9974 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7515, allocations: 0 / 0.9974 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.7517, allocations: 27.88 kB / 0.9974 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.7517, allocations: 8 kB / 0.9974 GB, free: 11.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001484/0.7519, allocations: 137.8 kB / 0.9976 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.752, allocations: 31.73 kB / 0.9976 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.752, allocations: 29.83 kB / 0.9976 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.752, allocations: 8 kB / 0.9976 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.752, allocations: 0 / 0.9976 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7521, allocations: 3.938 kB / 0.9976 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.7532, allocations: 0.6757 MB / 0.9983 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.7532, allocations: 0 / 0.9983 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.7534, allocations: 27.98 kB / 0.9983 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.7534, allocations: 7.938 kB / 0.9983 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.7534, allocations: 7.984 kB / 0.9983 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7534, allocations: 4 kB / 0.9983 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7534, allocations: 4 kB / 0.9983 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.754, allocations: 357.4 kB / 0.9987 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7541, allocations: 113 kB / 0.9988 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.7541, allocations: 7.984 kB / 0.9988 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.7543, allocations: 12 kB / 0.9988 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.7544, allocations: 11.92 kB / 0.9988 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.7544, allocations: 4 kB / 0.9988 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001957/0.7546, allocations: 184.5 kB / 0.999 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7546, allocations: 3.938 kB / 0.999 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003676/0.7549, allocations: 63.89 kB / 0.9991 GB, free: 9.742 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001037/0.756, allocations: 0.9254 MB / 1 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.7564, allocations: 171.8 kB / 1 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7565, allocations: 128 / 1 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.7567, allocations: 95.81 kB / 1 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.7574, allocations: 127.1 kB / 1 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.7609, allocations: 2.473 MB / 1.003 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.7613, allocations: 0.7518 MB / 1.003 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.7615, allocations: 61.91 kB / 1.004 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.7617, allocations: 71.41 kB / 1.004 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.7617, allocations: 0 / 1.004 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.7871, allocations: 6.976 MB / 1.01 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/9.233, allocations: 9.078 kB / 1.01 GB, free: 14.11 MB / 0.7481 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.224589781020768] Failed to read output from testmodel.py, exit status != 0: 9.360919636965264 9.376845475 8.631457474 Calling exit ...