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.001069/0.001069, 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.001146/0.001146, 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.877/0.877, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001461/0.001461, allocations: 231 kB / 259.4 MB, free: 13.01 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.6414/0.6414, allocations: 138.4 MB / 454.3 MB, free: 1.629 MB / 362.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 1.723e-06/1.723e-06, allocations: 0 / 0.6463 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.861e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1104/0.1104, allocations: 142.1 MB / 0.7851 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1119, allocations: 0.9388 MB / 0.786 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.112, allocations: 11.88 kB / 0.786 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.1125, allocations: 158.9 kB / 0.7862 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.1135, allocations: 0.653 MB / 0.7868 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1139, allocations: 255.4 kB / 0.7871 GB, free: 1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.1144, allocations: 0.5225 MB / 0.7876 GB, free: 488 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.1147, allocations: 140.3 kB / 0.7877 GB, free: 344 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.1151, allocations: 291.1 kB / 0.788 GB, free: 52 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1152, allocations: 151.5 kB / 0.7881 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1152, allocations: 16 kB / 0.7881 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.1158, allocations: 474.5 kB / 0.7886 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.1158, allocations: 83.72 kB / 0.7887 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.1159, allocations: 75.84 kB / 0.7887 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.1164, allocations: 0.4908 MB / 0.7892 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1164, allocations: 0 / 0.7892 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1164, allocations: 0 / 0.7892 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1164, allocations: 0 / 0.7892 GB, free: 14.77 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008872/0.1173, allocations: 0.532 MB / 0.7897 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1173, allocations: 8.75 kB / 0.7897 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1174, allocations: 54.55 kB / 0.7898 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1175, allocations: 47.83 kB / 0.7898 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1178, allocations: 222.6 kB / 0.7901 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1178, allocations: 16.27 kB / 0.7901 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1179, allocations: 16 kB / 0.7901 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.1182, allocations: 251.7 kB / 0.7903 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1182, allocations: 0 / 0.7903 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1182, allocations: 4 kB / 0.7903 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.1182, allocations: 11.98 kB / 0.7903 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.1186, allocations: 243.8 kB / 0.7906 GB, free: 13.32 MB / 0.6355 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.0007899/0.1193, allocations: 0.7048 MB / 0.7913 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1195, allocations: 142.5 kB / 0.7914 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1197, allocations: 100.8 kB / 0.7915 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1198, allocations: 35.97 kB / 0.7915 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.1198, allocations: 38.5 kB / 0.7916 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1198, allocations: 0 / 0.7916 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004701/0.1203, allocations: 308.1 kB / 0.7919 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.1204, allocations: 51.41 kB / 0.7919 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1206, allocations: 241.9 kB / 0.7921 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1206, allocations: 29.7 kB / 0.7922 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1207, allocations: 144.3 kB / 0.7923 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1207, allocations: 51.58 kB / 0.7924 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.1207, allocations: 37.7 kB / 0.7924 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.1208, allocations: 330.8 kB / 0.7927 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1209, allocations: 67.95 kB / 0.7928 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1211, allocations: 184.2 kB / 0.7929 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1213, allocations: 166.5 kB / 0.7931 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1213, allocations: 3.938 kB / 0.7931 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.1215, allocations: 217.4 kB / 0.7933 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1215, allocations: 4 kB / 0.7933 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1216, allocations: 4 kB / 0.7933 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1216, allocations: 7.938 kB / 0.7933 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.1217, allocations: 27.97 kB / 0.7934 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1217, allocations: 4.062 kB / 0.7934 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.1217, allocations: 27.88 kB / 0.7934 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1218, allocations: 4 kB / 0.7934 GB, free: 10.27 MB / 0.6355 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 8.945e-05/0.1219, allocations: 149.7 kB / 0.7935 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1219, allocations: 19.86 kB / 0.7936 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1219, allocations: 29.77 kB / 0.7936 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1219, allocations: 3.938 kB / 0.7936 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1219, allocations: 4 kB / 0.7936 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1219, allocations: 0 / 0.7936 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.1225, allocations: 0.628 MB / 0.7942 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1225, allocations: 3.938 kB / 0.7942 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.1226, allocations: 35.91 kB / 0.7942 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1226, allocations: 4 kB / 0.7942 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1226, allocations: 224 / 0.7942 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1226, allocations: 8 kB / 0.7943 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1226, allocations: 7.938 kB / 0.7943 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1229, allocations: 351.4 kB / 0.7946 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.1229, allocations: 39.81 kB / 0.7946 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.123, allocations: 4 kB / 0.7946 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.123, allocations: 11.98 kB / 0.7946 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1231, allocations: 15.92 kB / 0.7947 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.1231, allocations: 8 kB / 0.7947 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.885e-05/0.1232, allocations: 181.2 kB / 0.7948 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1232, allocations: 3.938 kB / 0.7948 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002142/0.1234, allocations: 63.89 kB / 0.7949 GB, free: 8.598 MB / 0.6355 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.0005409/0.1239, allocations: 0.9133 MB / 0.7958 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1242, allocations: 163.8 kB / 0.796 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1242, allocations: 4.125 kB / 0.796 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1243, allocations: 91.81 kB / 0.796 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1247, allocations: 129.6 kB / 0.7962 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1266, allocations: 2.475 MB / 0.7986 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.1267, allocations: 141.6 kB / 0.7987 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.1268, allocations: 61.91 kB / 0.7988 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.1271, allocations: 72.41 kB / 0.7989 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.1271, allocations: 0 / 0.7989 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.1446, allocations: 7.973 MB / 0.8066 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.899, allocations: 6.969 kB / 0.8066 GB, free: 12.65 MB / 0.6511 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 & /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: 9.530550453811884] Failed to read output from testmodel.py, exit status != 0: 6.98146615177393 6.991261184 6.872845024 Calling exit ...