Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 96.97 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 172.4 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6891/0.6891, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 8.719 kB / 493 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 77.11 MB / 0.5567 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4845/0.6416, allocations: 135.4 MB / 0.689 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.6431, allocations: 0.9796 MB / 0.6899 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.6433, allocations: 7.938 kB / 0.69 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.6439, allocations: 175.2 kB / 0.6901 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009067/0.6448, allocations: 418.8 kB / 0.6905 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.6454, allocations: 261.3 kB / 0.6908 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.6458, allocations: 324.2 kB / 0.6911 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.6461, allocations: 148.2 kB / 0.6912 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.6465, allocations: 251.2 kB / 0.6915 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.6467, allocations: 111.5 kB / 0.6916 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.6467, allocations: 8 kB / 0.6916 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.6472, allocations: 235.6 kB / 0.6918 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.6473, allocations: 67.86 kB / 0.6919 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.6473, allocations: 69.58 kB / 0.6919 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.6476, allocations: 268.2 kB / 0.6922 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6476, allocations: 4 kB / 0.6922 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.647e-06/0.6477, allocations: 0 / 0.6922 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6477, allocations: 3.938 kB / 0.6922 GB, free: 15.5 MB / 0.5137 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.001207/0.6489, allocations: 0.5424 MB / 0.6927 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6489, allocations: 8.031 kB / 0.6927 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.649, allocations: 50.55 kB / 0.6928 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.6492, allocations: 47.69 kB / 0.6928 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.6495, allocations: 266.6 kB / 0.6931 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.6496, allocations: 12.33 kB / 0.6931 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.6496, allocations: 19.98 kB / 0.6931 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.65, allocations: 247.8 kB / 0.6933 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6501, allocations: 0 / 0.6933 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6501, allocations: 4.938 kB / 0.6934 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.6501, allocations: 8 kB / 0.6934 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.6507, allocations: 271.5 kB / 0.6936 GB, free: 13.94 MB / 0.5137 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.001014/0.6517, allocations: 0.7884 MB / 0.6944 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.652, allocations: 154.4 kB / 0.6945 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.6521, allocations: 8 kB / 0.6945 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.6521, allocations: 30.56 kB / 0.6946 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.6521, allocations: 0 / 0.6946 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007622/0.6529, allocations: 317.3 kB / 0.6949 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.6529, allocations: 55.39 kB / 0.6949 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.6531, allocations: 245 kB / 0.6952 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.6531, allocations: 25.7 kB / 0.6952 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.6532, allocations: 136.3 kB / 0.6953 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.6533, allocations: 51.19 kB / 0.6954 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.6533, allocations: 4 kB / 0.6954 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6534, allocations: 334.8 kB / 0.6957 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.6536, allocations: 67.94 kB / 0.6958 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.6538, allocations: 111.6 kB / 0.6959 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.6539, allocations: 87.45 kB / 0.6959 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6539, allocations: 4 kB / 0.6959 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004054/0.6544, allocations: 221.3 kB / 0.6962 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6544, allocations: 4 kB / 0.6962 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6544, allocations: 4 kB / 0.6962 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6544, allocations: 0 / 0.6962 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.6546, allocations: 41.72 kB / 0.6962 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6546, allocations: 4 kB / 0.6962 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.6548, allocations: 29.47 kB / 0.6962 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6548, allocations: 4 kB / 0.6962 GB, free: 11.1 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.6549, allocations: 137.8 kB / 0.6964 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.655, allocations: 27.67 kB / 0.6964 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.655, allocations: 33.83 kB / 0.6964 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.655, allocations: 0 / 0.6964 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.6551, allocations: 0 / 0.6964 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.6551, allocations: 7.984 kB / 0.6964 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.656, allocations: 0.6834 MB / 0.6971 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.656, allocations: 7.938 kB / 0.6971 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.6562, allocations: 36.19 kB / 0.6971 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6562, allocations: 4 kB / 0.6972 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6562, allocations: 8.875 kB / 0.6972 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.6562, allocations: 3.938 kB / 0.6972 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6562, allocations: 7.984 kB / 0.6972 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.6567, allocations: 445.8 kB / 0.6976 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.6568, allocations: 108.8 kB / 0.6977 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.6569, allocations: 8 kB / 0.6977 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.657, allocations: 16.03 kB / 0.6977 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.6571, allocations: 28.67 kB / 0.6978 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.6571, allocations: 4 kB / 0.6978 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000141/0.6573, allocations: 180.5 kB / 0.6979 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6573, allocations: 0 / 0.6979 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003131/0.6576, allocations: 59.84 kB / 0.698 GB, free: 9.137 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.6586, allocations: 1.51 MB / 0.6995 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.6591, allocations: 186.7 kB / 0.6996 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6591, allocations: 0 / 0.6996 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.6593, allocations: 99.81 kB / 0.6997 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.6599, allocations: 119.2 kB / 0.6998 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.6618, allocations: 1.656 MB / 0.7015 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.6621, allocations: 0.7677 MB / 0.7022 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.6623, allocations: 61.89 kB / 0.7023 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.6624, allocations: 63.42 kB / 0.7023 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.6624, allocations: 0 / 0.7023 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7448/1.407, allocations: 6.362 MB / 0.7085 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.407, allocations: 224.5 kB / 0.7088 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/3.157, allocations: 3.75 kB / 0.7088 GB, free: 14.12 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: