Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4965/0.4965, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 87.91 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.898e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.382/4.518, allocations: 1.821 GB / 2.374 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/4.518, allocations: 79.95 kB / 2.374 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7405/5.259, allocations: 219.4 MB / 2.589 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/5.259, allocations: 0 / 2.589 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.993e-05/5.259, allocations: 4 kB / 2.589 GB, free: 137.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009329/5.26, allocations: 0.5637 MB / 2.589 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/5.26, allocations: 12.03 kB / 2.589 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/5.26, allocations: 54.08 kB / 2.589 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/5.261, allocations: 304 kB / 2.589 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/5.261, allocations: 7.953 kB / 2.589 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/5.261, allocations: 12 kB / 2.589 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002043/5.261, allocations: 91.97 kB / 2.59 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/5.261, allocations: 152.1 kB / 2.59 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/5.261, allocations: 0 / 2.59 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/5.261, allocations: 0 / 2.59 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/5.261, allocations: 4 kB / 2.59 GB, free: 136.7 MB / 0.6042 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.001036/5.262, allocations: 0.7334 MB / 2.59 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/5.263, allocations: 78.38 kB / 2.591 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/5.263, allocations: 52.91 kB / 2.591 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/5.263, allocations: 186.2 kB / 2.591 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/5.263, allocations: 34.56 kB / 2.591 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/5.263, allocations: 0 / 2.591 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004942/5.263, allocations: 141.4 kB / 2.591 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/5.263, allocations: 59.41 kB / 2.591 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/5.264, allocations: 184.5 kB / 2.591 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/5.264, allocations: 29.7 kB / 2.591 GB, free: 135 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/5.264, allocations: 144.3 kB / 2.591 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/5.264, allocations: 39.39 kB / 2.591 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/5.264, allocations: 0 / 2.591 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000109/5.264, allocations: 326.8 kB / 2.592 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/5.264, allocations: 27.98 kB / 2.592 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/5.264, allocations: 86.55 kB / 2.592 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.386e-05/5.264, allocations: 43.97 kB / 2.592 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/5.264, allocations: 0 / 2.592 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/5.264, allocations: 117.4 kB / 2.592 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/5.265, allocations: 360 kB / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/5.265, allocations: 0 / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/5.265, allocations: 8 kB / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/5.265, allocations: 35.88 kB / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/5.265, allocations: 0 / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/5.265, allocations: 20.03 kB / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/5.265, allocations: 7.984 kB / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/5.265, allocations: 5.406 kB / 2.592 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001315/5.265, allocations: 75.89 kB / 2.592 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/5.265, allocations: 0 / 2.592 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/5.265, allocations: 3.984 kB / 2.592 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/5.265, allocations: 23.98 kB / 2.592 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/5.265, allocations: 3.938 kB / 2.592 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/5.266, allocations: 15.98 kB / 2.592 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/5.266, allocations: 12.03 kB / 2.592 GB, free: 133.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 8.48e-05/5.266, allocations: 104.9 kB / 2.593 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001747/5.266, allocations: 113.7 kB / 2.593 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/5.266, allocations: 23.72 kB / 2.593 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/5.266, allocations: 127.4 kB / 2.593 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/5.266, allocations: 0 / 2.593 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/5.266, allocations: 4 kB / 2.593 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/5.266, allocations: 0 / 2.593 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/5.267, allocations: 0.5085 MB / 2.593 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/5.267, allocations: 4 kB / 2.593 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/5.267, allocations: 32.14 kB / 2.593 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/5.267, allocations: 0 / 2.593 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/5.267, allocations: 8 kB / 2.593 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/5.267, allocations: 7.953 kB / 2.593 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.267, allocations: 0 / 2.593 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/5.267, allocations: 341.1 kB / 2.594 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/5.267, allocations: 116.8 kB / 2.594 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/5.267, allocations: 7.953 kB / 2.594 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/5.268, allocations: 15.98 kB / 2.594 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/5.268, allocations: 11.98 kB / 2.594 GB, free: 132 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/5.268, allocations: 4 kB / 2.594 GB, free: 132 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001101/5.268, allocations: 152.5 kB / 2.594 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/5.268, allocations: 0 / 2.594 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007046/5.269, allocations: 155.8 kB / 2.594 GB, free: 131.7 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002153/5.271, allocations: 2.278 MB / 2.596 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002706/5.271, allocations: 121.1 kB / 2.596 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.271, allocations: 128 / 2.596 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/5.271, allocations: 43.92 kB / 2.597 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/5.272, allocations: 106 kB / 2.597 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/5.273, allocations: 370.2 kB / 2.597 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/5.273, allocations: 0.7599 MB / 2.598 GB, free: 128 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002793/5.273, allocations: 74.64 kB / 2.598 GB, free: 128 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/5.273, allocations: 67.42 kB / 2.598 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/5.273, allocations: 0 / 2.598 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/5.308, allocations: 12.32 MB / 2.61 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/5.308, allocations: 170.5 kB / 2.61 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/7.308, allocations: 3.938 kB / 2.61 GB, free: 115.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)