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.001326/0.001326, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001469/0.001469, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.002486/0.002486, allocations: 289.8 kB / 313.5 MB, free: 2.762 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.191/1.191, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.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.004366/0.004366, allocations: 102.6 kB / 0.7403 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2024, allocations: 95.38 MB / 0.8335 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6068/0.8092, allocations: 164.9 MB / 0.9945 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.8113, allocations: 0.9709 MB / 0.9954 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.8117, allocations: 13.09 kB / 0.9954 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.8123, allocations: 174.5 kB / 0.9956 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.814, allocations: 0.661 MB / 0.9963 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.8146, allocations: 232.9 kB / 0.9965 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.8152, allocations: 0.5393 MB / 0.997 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.8155, allocations: 131.2 kB / 0.9971 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.8159, allocations: 245.6 kB / 0.9974 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.8161, allocations: 175.4 kB / 0.9975 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.8161, allocations: 13.12 kB / 0.9975 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009387/0.8171, allocations: 0.5927 MB / 0.9981 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.8172, allocations: 85.62 kB / 0.9982 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.8173, allocations: 114.4 kB / 0.9983 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.8181, allocations: 491.2 kB / 0.9988 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8181, allocations: 3.938 kB / 0.9988 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8181, allocations: 2.562 kB / 0.9988 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8181, allocations: 0 / 0.9988 GB, free: 3.387 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.001586/0.8197, allocations: 0.5388 MB / 0.9993 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8197, allocations: 11.75 kB / 0.9993 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.532e-05/0.8198, allocations: 4.266 kB / 0.9993 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/0.8198, allocations: 55.53 kB / 0.9994 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.8201, allocations: 49.11 kB / 0.9994 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.8206, allocations: 225.3 kB / 0.9996 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.8206, allocations: 18.11 kB / 0.9997 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.8206, allocations: 17.16 kB / 0.9997 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.8212, allocations: 239.8 kB / 0.9999 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8212, allocations: 1.719 kB / 0.9999 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.8212, allocations: 5.562 kB / 0.9999 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.8212, allocations: 12.19 kB / 0.9999 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.8218, allocations: 249.6 kB / 1 GB, free: 18.79 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.001323/0.8231, allocations: 0.8059 MB / 1.001 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.8235, allocations: 134.5 kB / 1.001 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.8237, allocations: 108.5 kB / 1.001 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.8239, allocations: 35.28 kB / 1.001 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.8239, allocations: 31.95 kB / 1.001 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.8239, allocations: 2.141 kB / 1.001 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.000892/0.8248, allocations: 304.1 kB / 1.002 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.8249, allocations: 57.91 kB / 1.002 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.8251, allocations: 241.3 kB / 1.002 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.8252, allocations: 29.8 kB / 1.002 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.8253, allocations: 136.3 kB / 1.002 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.8253, allocations: 57.39 kB / 1.002 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.8254, allocations: 34.34 kB / 1.002 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8255, allocations: 334.9 kB / 1.002 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.8257, allocations: 65.39 kB / 1.002 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.826, allocations: 105 kB / 1.003 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.8263, allocations: 172.4 kB / 1.003 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8264, allocations: 0 / 1.003 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005627/0.8269, allocations: 218.4 kB / 1.003 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.8269, allocations: 5.344 kB / 1.003 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.827, allocations: 5.312 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.827, allocations: 2.688 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.8272, allocations: 36.89 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.8272, allocations: 2.594 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.8274, allocations: 23.36 kB / 1.003 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.8274, allocations: 5.969 kB / 1.003 GB, free: 17.51 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.0001852/0.8276, allocations: 150.9 kB / 1.003 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.8277, allocations: 22.17 kB / 1.003 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.8278, allocations: 35.02 kB / 1.003 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8278, allocations: 1.625 kB / 1.003 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8278, allocations: 1.406 kB / 1.003 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8278, allocations: 2.406 kB / 1.003 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.8291, allocations: 0.6453 MB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.8291, allocations: 1.625 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.8293, allocations: 35.17 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.8293, allocations: 4.703 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.8293, allocations: 5.844 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.8293, allocations: 4.531 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8293, allocations: 3 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.8299, allocations: 357.9 kB / 1.004 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.83, allocations: 39.38 kB / 1.004 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.8301, allocations: 3.219 kB / 1.004 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.8302, allocations: 12.56 kB / 1.004 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.8303, allocations: 18.08 kB / 1.004 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.8303, allocations: 10.56 kB / 1.004 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002284/0.8306, allocations: 177 kB / 1.004 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8306, allocations: 0.9375 kB / 1.004 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004451/0.831, allocations: 63.89 kB / 1.005 GB, free: 16.75 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.001073/0.8321, allocations: 0.9249 MB / 1.005 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005285/0.8326, allocations: 167.9 kB / 1.006 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8326, allocations: 2.734 kB / 1.006 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.8329, allocations: 92.61 kB / 1.006 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.8337, allocations: 128.9 kB / 1.006 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.8374, allocations: 2.466 MB / 1.008 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.8379, allocations: 0.7594 MB / 1.009 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.8381, allocations: 64.08 kB / 1.009 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.8382, allocations: 65.72 kB / 1.009 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/0.8382, allocations: 0.9688 kB / 1.009 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.8662, allocations: 7.14 MB / 1.016 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.09, allocations: 10.34 kB / 1.016 GB, free: 13.35 MB / 0.7325 GB " [Timeout remaining time 648] (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: 16.27595418598503] Failed to read output from testmodel.py, exit status != 0: 12.257902009994723 12.276936954 11.454957963 Calling exit ...