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.000737/0.000737, 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.0007938/0.0007938, 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.876/0.876, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001451/0.001451, allocations: 236.8 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6675/0.6675, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 4 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.473e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3391/0.3391, allocations: 142.1 MB / 0.7851 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3404, allocations: 0.9277 MB / 0.786 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.3406, allocations: 15.81 kB / 0.786 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.3411, allocations: 162.9 kB / 0.7861 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3422, allocations: 0.6608 MB / 0.7868 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.3427, allocations: 253.5 kB / 0.787 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.3432, allocations: 0.5225 MB / 0.7875 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.3434, allocations: 137.7 kB / 0.7877 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.3438, allocations: 291.2 kB / 0.788 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.344, allocations: 143.6 kB / 0.7881 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.344, allocations: 19.94 kB / 0.7881 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.3445, allocations: 478.4 kB / 0.7886 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.3446, allocations: 83.72 kB / 0.7886 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.3447, allocations: 75.84 kB / 0.7887 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.3452, allocations: 498.6 kB / 0.7892 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3452, allocations: 0 / 0.7892 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3452, allocations: 0 / 0.7892 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3452, allocations: 0 / 0.7892 GB, free: 8.762 MB / 0.6198 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.0009257/0.3461, allocations: 0.53 MB / 0.7897 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3462, allocations: 17.94 kB / 0.7897 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.3462, allocations: 50.53 kB / 0.7898 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3464, allocations: 55.81 kB / 0.7898 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3467, allocations: 222.1 kB / 0.79 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3467, allocations: 20.27 kB / 0.7901 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3468, allocations: 16 kB / 0.7901 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3471, allocations: 243.8 kB / 0.7903 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3471, allocations: 0 / 0.7903 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.3471, allocations: 4 kB / 0.7903 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.3472, allocations: 8 kB / 0.7903 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.3475, allocations: 248.5 kB / 0.7906 GB, free: 7.301 MB / 0.6198 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.0008331/0.3484, allocations: 0.6976 MB / 0.7912 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3486, allocations: 141.2 kB / 0.7914 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3487, allocations: 108.7 kB / 0.7915 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3488, allocations: 35.98 kB / 0.7915 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3488, allocations: 30.56 kB / 0.7915 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/0.3488, allocations: 0 / 0.7915 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004939/0.3493, allocations: 303.9 kB / 0.7918 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3494, allocations: 59.39 kB / 0.7919 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3495, allocations: 241.9 kB / 0.7921 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3496, allocations: 29.7 kB / 0.7921 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.3496, allocations: 140.3 kB / 0.7923 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3497, allocations: 47.53 kB / 0.7923 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.3497, allocations: 37.7 kB / 0.7924 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.3498, allocations: 334.8 kB / 0.7927 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.3499, allocations: 67.95 kB / 0.7927 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.35, allocations: 179.6 kB / 0.7929 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3502, allocations: 172.3 kB / 0.7931 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3502, allocations: 4 kB / 0.7931 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002588/0.3505, allocations: 213.4 kB / 0.7933 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3505, allocations: 5.25 kB / 0.7933 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3505, allocations: 0 / 0.7933 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3505, allocations: 7.938 kB / 0.7933 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.3506, allocations: 32.03 kB / 0.7933 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3506, allocations: 4 kB / 0.7933 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.3507, allocations: 23.88 kB / 0.7934 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3507, allocations: 4 kB / 0.7934 GB, free: 4.277 MB / 0.6198 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 9.177e-05/0.3508, allocations: 149.7 kB / 0.7935 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3509, allocations: 19.86 kB / 0.7935 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.3509, allocations: 33.77 kB / 0.7936 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3509, allocations: 3.938 kB / 0.7936 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3509, allocations: 5.375 kB / 0.7936 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3509, allocations: 4 kB / 0.7936 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.3516, allocations: 0.6279 MB / 0.7942 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3516, allocations: 0 / 0.7942 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.3516, allocations: 35.91 kB / 0.7942 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3516, allocations: 4.219 kB / 0.7942 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3517, allocations: 8 kB / 0.7942 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3517, allocations: 4 kB / 0.7942 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3517, allocations: 0 / 0.7942 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3519, allocations: 357.2 kB / 0.7946 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.352, allocations: 34.14 kB / 0.7946 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.352, allocations: 4 kB / 0.7946 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.3521, allocations: 15.98 kB / 0.7946 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3521, allocations: 22.48 kB / 0.7946 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3522, allocations: 4 kB / 0.7946 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001101/0.3523, allocations: 185.1 kB / 0.7948 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3523, allocations: 0 / 0.7948 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000251/0.3525, allocations: 63.89 kB / 0.7949 GB, free: 2.609 MB / 0.6198 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.0006054/0.3531, allocations: 0.9251 MB / 0.7958 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.3534, allocations: 175.8 kB / 0.796 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3534, allocations: 0 / 0.796 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3535, allocations: 87.88 kB / 0.796 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.354, allocations: 116.2 kB / 0.7962 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.356, allocations: 2.465 MB / 0.7986 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.666e-05/0.3561, allocations: 149.5 kB / 0.7987 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.3562, allocations: 69.02 kB / 0.7988 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.3563, allocations: 60.48 kB / 0.7988 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.3563, allocations: 0 / 0.7988 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.3752, allocations: 7.978 MB / 0.8066 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/7.107, allocations: 12 kB / 0.8066 GB, free: 6.742 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.702283455990255] Failed to read output from testmodel.py, exit status != 0: 7.189473940990865 7.197557224 6.850450523 Calling exit ...