Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.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: translateModel(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 93.41 kB / 15.7 MB, free: 448 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.001036/0.001036, allocations: 170.5 kB / 16.58 MB, free: 6.887 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.458/1.458, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7453/0.7453, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002959, allocations: 11.94 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 77.53 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.5305/0.68, allocations: 167.4 MB / 0.7228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.6946, allocations: 9.728 MB / 0.7323 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.696, allocations: 23.81 kB / 0.7323 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.6971, allocations: 309.8 kB / 0.7326 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.7002, allocations: 1.019 MB / 0.7336 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.7043, allocations: 1.367 MB / 0.7349 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.7078, allocations: 2.735 MB / 0.7376 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.7093, allocations: 0.8471 MB / 0.7384 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.7113, allocations: 1.078 MB / 0.7395 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.7128, allocations: 1.168 MB / 0.7406 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.713, allocations: 80 kB / 0.7407 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.7154, allocations: 1.142 MB / 0.7418 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.716, allocations: 0.4906 MB / 0.7423 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.7163, allocations: 257 kB / 0.7425 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.7183, allocations: 1.917 MB / 0.7444 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7183, allocations: 0 / 0.7444 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7183, allocations: 4 kB / 0.7444 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.7184, allocations: 4 kB / 0.7444 GB, free: 9.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004398/0.7228, allocations: 1.937 MB / 0.7463 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.7228, allocations: 8.031 kB / 0.7463 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.7238, allocations: 237.8 kB / 0.7465 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.7261, allocations: 1.341 MB / 0.7478 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.7262, allocations: 62 kB / 0.7479 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.7264, allocations: 95.86 kB / 0.748 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.7281, allocations: 1.01 MB / 0.749 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7281, allocations: 3.984 kB / 0.749 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.7282, allocations: 28 kB / 0.749 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.7282, allocations: 20 kB / 0.749 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.73, allocations: 0.9106 MB / 0.7499 GB, free: 3.93 MB / 0.5606 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.006228/0.7362, allocations: 4.768 MB / 0.7546 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.7377, allocations: 0.7638 MB / 0.7553 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/0.7385, allocations: 433.9 kB / 0.7557 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.7389, allocations: 279.8 kB / 0.756 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.739, allocations: 35 kB / 0.756 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=50): time 2.325e-06/0.739, allocations: 0 / 0.756 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=50): time 0.004546/0.7435, allocations: 1.635 MB / 0.7576 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.7436, allocations: 59.83 kB / 0.7577 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.7462, allocations: 1.82 MB / 0.7595 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.7463, allocations: 45.7 kB / 0.7595 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.7469, allocations: 0.5832 MB / 0.7601 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.747, allocations: 173.4 kB / 0.7602 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.7471, allocations: 16 kB / 0.7603 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7473, allocations: 345.9 kB / 0.7606 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.7489, allocations: 0.9584 MB / 0.7615 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.7509, allocations: 1.302 MB / 0.7628 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.7523, allocations: 0.8651 MB / 0.7636 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7524, allocations: 0 / 0.7636 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003998/0.7564, allocations: 2.184 MB / 0.7658 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.7565, allocations: 236.8 kB / 0.766 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.7566, allocations: 8 kB / 0.766 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.7574, allocations: 141.6 kB / 0.7661 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.7584, allocations: 175.8 kB / 0.7663 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.7595, allocations: 1.318 MB / 0.7676 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.761, allocations: 235 kB / 0.7678 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7611, allocations: 39.92 kB / 0.7679 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.7612, allocations: 4 kB / 0.7679 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003498/0.7647, allocations: 1.984 MB / 0.7698 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7647, allocations: 4 kB / 0.7698 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.7647, allocations: 8 kB / 0.7698 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.7657, allocations: 188.3 kB / 0.77 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.7657, allocations: 15.89 kB / 0.77 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.7673, allocations: 209.9 kB / 0.7702 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/0.7674, allocations: 31.98 kB / 0.7702 GB, free: 14.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006339/0.7681, allocations: 388.9 kB / 0.7706 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.7683, allocations: 130.3 kB / 0.7707 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.7704, allocations: 1.048 MB / 0.7718 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.7704, allocations: 7.984 kB / 0.7718 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7704, allocations: 3.953 kB / 0.7718 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.7704, allocations: 0 / 0.7718 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.7742, allocations: 2.273 MB / 0.774 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.7742, allocations: 8.156 kB / 0.774 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.7748, allocations: 123.8 kB / 0.7741 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000697/0.7755, allocations: 143.7 kB / 0.7742 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.7755, allocations: 15.98 kB / 0.7743 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009827/0.7765, allocations: 1.317 MB / 0.7756 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7765, allocations: 4.031 kB / 0.7756 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.7793, allocations: 1.642 MB / 0.7772 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.7798, allocations: 323.1 kB / 0.7775 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.78, allocations: 12 kB / 0.7775 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.781, allocations: 95.94 kB / 0.7776 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.7811, allocations: 40.34 kB / 0.7776 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.7812, allocations: 27.92 kB / 0.7776 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001773/0.783, allocations: 1.297 MB / 0.7789 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.783, allocations: 0 / 0.7789 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00182/0.7848, allocations: 0.6826 MB / 0.7796 GB, free: 4.723 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007652/0.7856, allocations: 347.7 kB / 0.7799 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004972/0.7906, allocations: 2.788 MB / 0.7826 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7906, allocations: 3.938 kB / 0.7826 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009199/0.7915, allocations: 454.7 kB / 0.7831 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.7937, allocations: 450.2 kB / 0.7835 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.7973, allocations: 2.495 MB / 0.7859 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.798, allocations: 1.177 MB / 0.7871 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001644/0.7997, allocations: 376.5 kB / 0.7874 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.8001, allocations: 95.39 kB / 0.7875 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.8001, allocations: 0 / 0.7875 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.04826/0.8484, allocations: 27.84 MB / 0.8147 GB, free: 0.918 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)