Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7745/0.7745, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 178.4 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009435/0.0009434, allocations: 91.75 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.317e-05, allocations: 5.875 kB / 0.5467 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1804, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9161/1.097, allocations: 371.9 MB / 0.9849 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.097, allocations: 89.95 kB / 0.9849 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.006/5.103, allocations: 0.9366 GB / 1.922 GB, free: 51.85 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.08e-06/5.103, allocations: 3.703 kB / 1.922 GB, free: 51.85 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0006836/5.104, allocations: 82.73 kB / 1.922 GB, free: 51.84 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01132/5.115, allocations: 3.16 MB / 1.925 GB, free: 50.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/5.115, allocations: 13.81 kB / 1.925 GB, free: 50.17 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/5.122, allocations: 1.023 MB / 1.926 GB, free: 49.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04532/5.167, allocations: 19.77 MB / 1.945 GB, free: 46.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/5.167, allocations: 54.56 kB / 1.945 GB, free: 46.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/5.168, allocations: 112 kB / 1.945 GB, free: 46.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002751/5.171, allocations: 1.6 MB / 1.947 GB, free: 45.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/5.174, allocations: 1.832 MB / 1.949 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/5.174, allocations: 3.938 kB / 1.949 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/5.174, allocations: 3.719 kB / 1.949 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/5.174, allocations: 39.91 kB / 1.949 GB, free: 44.95 MB / 0.6667 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.01582/5.19, allocations: 10.67 MB / 1.959 GB, free: 37.78 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/5.192, allocations: 1.647 MB / 1.961 GB, free: 37.14 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007547/5.193, allocations: 0.678 MB / 1.961 GB, free: 36.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005415/5.198, allocations: 3.088 MB / 1.964 GB, free: 35.09 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/5.198, allocations: 39.28 kB / 1.964 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001478/5.2, allocations: 166 kB / 1.965 GB, free: 34.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 3.576e-06/5.2, allocations: 0 / 1.965 GB, free: 34.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.005567/5.205, allocations: 2.116 MB / 1.967 GB, free: 34.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/5.206, allocations: 64.19 kB / 1.967 GB, free: 34.13 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/5.213, allocations: 3.45 MB / 1.97 GB, free: 31.08 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005412/5.214, allocations: 33.7 kB / 1.97 GB, free: 31.04 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/5.215, allocations: 1.608 MB / 1.972 GB, free: 29.42 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/5.216, allocations: 272.1 kB / 1.972 GB, free: 29.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/5.216, allocations: 0 / 1.972 GB, free: 29.15 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001169/5.216, allocations: 365.9 kB / 1.972 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009007/5.217, allocations: 0.7536 MB / 1.973 GB, free: 28.04 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/5.218, allocations: 1.494 MB / 1.974 GB, free: 26.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/5.22, allocations: 1.07 MB / 1.975 GB, free: 25.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/5.22, allocations: 8 kB / 1.975 GB, free: 25.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005606/5.226, allocations: 2.75 MB / 1.978 GB, free: 22.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002044/5.228, allocations: 9.356 MB / 1.987 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/5.228, allocations: 20 kB / 1.987 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/5.229, allocations: 453.8 kB / 1.988 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/5.231, allocations: 371.4 kB / 1.988 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/5.233, allocations: 2.407 MB / 1.99 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/5.236, allocations: 147.7 kB / 1.991 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/5.236, allocations: 155.9 kB / 1.991 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/5.236, allocations: 8 kB / 1.991 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005156/5.241, allocations: 2.096 MB / 1.993 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.424e-05/5.242, allocations: 23.95 kB / 1.993 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/5.243, allocations: 499 kB / 1.993 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/5.244, allocations: 343.4 kB / 1.994 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006782/5.251, allocations: 5.164 MB / 1.999 GB, free: 364 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/5.254, allocations: 135.9 kB / 1.999 GB, free: 228 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005494/5.255, allocations: 136 kB / 1.999 GB, free: 92 kB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00105/5.256, allocations: 159.7 kB / 1.999 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006566/5.263, allocations: 1.673 MB / 2.001 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/5.264, allocations: 315.8 kB / 2.001 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006782/5.271, allocations: 2.026 MB / 2.003 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/5.271, allocations: 8 kB / 2.003 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/5.271, allocations: 4 kB / 2.003 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/5.271, allocations: 7.938 kB / 2.003 GB, free: 11.89 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.01364/5.284, allocations: 4.224 MB / 2.007 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/5.284, allocations: 0 / 2.007 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/5.285, allocations: 171.8 kB / 2.007 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/5.286, allocations: 292.6 kB / 2.008 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/5.286, allocations: 19.97 kB / 2.008 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/5.289, allocations: 2.042 MB / 2.01 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/5.289, allocations: 0 / 2.01 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006798/5.295, allocations: 2.456 MB / 2.012 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/5.298, allocations: 0.6954 MB / 2.013 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/5.299, allocations: 3.188 kB / 2.013 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/5.302, allocations: 135.7 kB / 2.013 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/5.302, allocations: 60.69 kB / 2.013 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/5.302, allocations: 55.95 kB / 2.013 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.6162/5.918, allocations: 2.596 MB / 2.015 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/5.919, allocations: 0.7188 kB / 2.015 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01001/5.929, allocations: 1.573 MB / 2.017 GB, free: 67.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,1 4,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/5.94, allocations: 4.574 MB / 2.021 GB, free: 66.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005647/5.945, allocations: 2.9 MB / 2.024 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/5.946, allocations: 0 / 2.024 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/5.947, allocations: 0.5724 MB / 2.025 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008363/5.955, allocations: 1.518 MB / 2.026 GB, free: 65.99 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/5.968, allocations: 4.877 MB / 2.031 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/5.97, allocations: 2.164 MB / 2.033 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006944/5.977, allocations: 1.58 MB / 2.035 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/5.979, allocations: 1.35 MB / 2.036 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/5.979, allocations: 1.719 kB / 2.036 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/6.179, allocations: 106.1 MB / 2.14 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/6.179, allocations: 185.2 kB / 2.14 GB, free: 58.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.164/12.34, allocations: 0 / 2.14 GB, free: 58.31 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)