Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6787/0.6787, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 177.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 95.91 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 280.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.848e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3364, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6042/0.9407, allocations: 372.5 MB / 1.128 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.9409, allocations: 86.27 kB / 1.128 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5965/1.537, allocations: 171.6 MB / 1.296 GB, free: 170.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/1.538, allocations: 0 / 1.296 GB, free: 170.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.141e-05/1.538, allocations: 12 kB / 1.296 GB, free: 170.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007882/1.538, allocations: 0.6537 MB / 1.296 GB, free: 169.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.538, allocations: 16.03 kB / 1.296 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/1.538, allocations: 50.55 kB / 1.297 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.763e-05/1.539, allocations: 47.44 kB / 1.297 GB, free: 169.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02538/1.564, allocations: 14.64 MB / 1.311 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/1.564, allocations: 12.33 kB / 1.311 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/1.564, allocations: 28 kB / 1.311 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/1.564, allocations: 160.1 kB / 1.311 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.564, allocations: 4 kB / 1.311 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/1.564, allocations: 4 kB / 1.311 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.564, allocations: 4 kB / 1.311 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/1.565, allocations: 100.2 kB / 1.311 GB, free: 154.3 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.0009847/1.566, allocations: 0.8373 MB / 1.312 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/1.566, allocations: 98.69 kB / 1.312 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.175e-05/1.566, allocations: 48.84 kB / 1.312 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/1.566, allocations: 340.4 kB / 1.312 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/1.566, allocations: 30.56 kB / 1.312 GB, free: 152.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.063e-06/1.566, allocations: 0 / 1.312 GB, free: 152.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0002784/1.566, allocations: 137.4 kB / 1.313 GB, free: 152.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/1.566, allocations: 67.28 kB / 1.313 GB, free: 152.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/1.567, allocations: 286.9 kB / 1.313 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.567, allocations: 29.7 kB / 1.313 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/1.567, allocations: 192.3 kB / 1.313 GB, free: 152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/1.567, allocations: 43.3 kB / 1.313 GB, free: 152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/1.567, allocations: 4 kB / 1.313 GB, free: 152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/1.567, allocations: 338.8 kB / 1.314 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/1.567, allocations: 27.98 kB / 1.314 GB, free: 151.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/1.567, allocations: 82.97 kB / 1.314 GB, free: 151.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/1.567, allocations: 39.92 kB / 1.314 GB, free: 151.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.567, allocations: 0 / 1.314 GB, free: 151.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001883/1.567, allocations: 141.2 kB / 1.314 GB, free: 151.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/1.567, allocations: 186 kB / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.567, allocations: 0 / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.567, allocations: 0 / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.567, allocations: 35.91 kB / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.567, allocations: 0 / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/1.568, allocations: 35.83 kB / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/1.568, allocations: 19.97 kB / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/1.568, allocations: 4 kB / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001287/1.568, allocations: 71.91 kB / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/1.568, allocations: 4 kB / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/1.568, allocations: 0 / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.568, allocations: 24.27 kB / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/1.568, allocations: 4 kB / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.568, allocations: 31.91 kB / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/1.568, allocations: 11.94 kB / 1.314 GB, free: 150.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.865e-05/1.568, allocations: 116.9 kB / 1.314 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.568, allocations: 35.53 kB / 1.314 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/1.569, allocations: 200.8 kB / 1.315 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.569, allocations: 4 kB / 1.315 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.569, allocations: 0 / 1.315 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.569, allocations: 0 / 1.315 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/1.569, allocations: 0.575 MB / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.569, allocations: 0 / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.569, allocations: 28.08 kB / 1.315 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.569, allocations: 7.938 kB / 1.315 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.569, allocations: 4 kB / 1.315 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.569, allocations: 4 kB / 1.315 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.569, allocations: 3.953 kB / 1.315 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/1.57, allocations: 322.7 kB / 1.315 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.57, allocations: 124.5 kB / 1.316 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/1.57, allocations: 8 kB / 1.316 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/1.57, allocations: 19.98 kB / 1.316 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.57, allocations: 15.92 kB / 1.316 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/1.57, allocations: 11.98 kB / 1.316 GB, free: 149.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001821/1.57, allocations: 225.2 kB / 1.316 GB, free: 149 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/1.57, allocations: 0 / 1.316 GB, free: 149 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005255/1.571, allocations: 159.8 kB / 1.316 GB, free: 148.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009057/1.572, allocations: 1.253 MB / 1.317 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002548/1.572, allocations: 154 kB / 1.317 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.572, allocations: 0 / 1.317 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/1.572, allocations: 63.92 kB / 1.317 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/1.573, allocations: 145.9 kB / 1.318 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/1.573, allocations: 476.5 kB / 1.318 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/1.574, allocations: 0.8078 MB / 1.319 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003146/1.574, allocations: 87.5 kB / 1.319 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/1.574, allocations: 107.4 kB / 1.319 GB, free: 145.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/1.574, allocations: 0 / 1.319 GB, free: 145.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/1.595, allocations: 10.89 MB / 1.33 GB, free: 135.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/1.595, allocations: 208.5 kB / 1.33 GB, free: 134.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.642, allocations: 2.109 kB / 1.33 GB, free: 134.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)