Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 103.8 kB / 16.46 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 196.1 kB / 17.4 MB, free: 5.539 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.414/1.414, allocations: 225.6 MB / 243.8 MB, free: 14.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8306/0.8306, allocations: 137 MB / 433.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 64.45 kB / 0.6022 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1572, allocations: 85.43 MB / 0.6856 GB, free: 6.902 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5084/0.6656, allocations: 133.1 MB / 0.8156 GB, free: 1.062 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0355/0.7011, allocations: 23.23 MB / 0.8383 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00505/0.7062, allocations: 120.2 kB / 0.8384 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.7103, allocations: 1.543 MB / 0.8399 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.723, allocations: 4.31 MB / 0.8442 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.7291, allocations: 2.205 MB / 0.8463 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.7397, allocations: 6.539 MB / 0.8527 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.7435, allocations: 1.929 MB / 0.8546 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007813/0.7514, allocations: 2.824 MB / 0.8573 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/0.7556, allocations: 1.973 MB / 0.8593 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009634/0.7565, allocations: 248 kB / 0.8595 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.7627, allocations: 1.981 MB / 0.8614 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.7639, allocations: 0.6185 MB / 0.862 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003587/0.7675, allocations: 1.462 MB / 0.8635 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.7776, allocations: 4.41 MB / 0.8678 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7776, allocations: 0 / 0.8678 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7776, allocations: 0 / 0.8678 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001252/0.7777, allocations: 0 / 0.8678 GB, free: 3.211 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007964/0.7856, allocations: 3.262 MB / 0.871 GB, free: 15.86 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.7857, allocations: 17.09 kB / 0.871 GB, free: 15.84 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.7905, allocations: 0.8528 MB / 0.8718 GB, free: 14.99 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00599/0.7965, allocations: 2.36 MB / 0.8741 GB, free: 12.55 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.7966, allocations: 131 kB / 0.8742 GB, free: 12.43 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004317/0.7971, allocations: 160 kB / 0.8744 GB, free: 12.27 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.8021, allocations: 1.923 MB / 0.8763 GB, free: 10.28 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.8021, allocations: 0 / 0.8763 GB, free: 10.28 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/0.8023, allocations: 67.94 kB / 0.8763 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.8024, allocations: 36 kB / 0.8764 GB, free: 10.18 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004985/0.8073, allocations: 1.792 MB / 0.8781 GB, free: 8.387 MB / 0.6388 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.01626/0.8236, allocations: 8.995 MB / 0.8869 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.8281, allocations: 1.151 MB / 0.888 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.8293, allocations: 430 kB / 0.8884 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.8308, allocations: 1.73 MB / 0.8901 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.8308, allocations: 42.5 kB / 0.8902 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.796e-06/0.8308, allocations: 0 / 0.8902 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.008851/0.8397, allocations: 2.33 MB / 0.8924 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.8398, allocations: 85.11 kB / 0.8925 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.8443, allocations: 2.504 MB / 0.895 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.8445, allocations: 45.69 kB / 0.895 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.8456, allocations: 1.043 MB / 0.896 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.846, allocations: 289.6 kB / 0.8963 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004656/0.8464, allocations: 258.7 kB / 0.8966 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.8466, allocations: 349.9 kB / 0.8969 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.8485, allocations: 0.5724 MB / 0.8974 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.8507, allocations: 0.9543 MB / 0.8984 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.8539, allocations: 1.24 MB / 0.8996 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.8539, allocations: 8 kB / 0.8996 GB, free: 1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006786/0.8607, allocations: 2.025 MB / 0.9016 GB, free: 14.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.8607, allocations: 8 kB / 0.9016 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.8607, allocations: 8 kB / 0.9016 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.8624, allocations: 425.6 kB / 0.902 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.8636, allocations: 275.6 kB / 0.9023 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.866, allocations: 1.511 MB / 0.9037 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.8689, allocations: 370.5 kB / 0.9041 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.8691, allocations: 59.97 kB / 0.9041 GB, free: 12.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.8701, allocations: 465.5 kB / 0.9046 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005949/0.8707, allocations: 266.3 kB / 0.9048 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.8745, allocations: 1.479 MB / 0.9063 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.8745, allocations: 8 kB / 0.9063 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8745, allocations: 7.938 kB / 0.9063 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.8745, allocations: 3.984 kB / 0.9063 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008089/0.8826, allocations: 3.601 MB / 0.9098 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.8826, allocations: 4 kB / 0.9098 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.8833, allocations: 128.2 kB / 0.9099 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.8849, allocations: 428.7 kB / 0.9104 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.8849, allocations: 27.98 kB / 0.9104 GB, free: 5.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.8878, allocations: 1.572 MB / 0.9119 GB, free: 4.109 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8878, allocations: 4 kB / 0.9119 GB, free: 4.105 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006177/0.8939, allocations: 1.937 MB / 0.9138 GB, free: 2.105 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.8952, allocations: 0.495 MB / 0.9143 GB, free: 1.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/0.8956, allocations: 16 kB / 0.9143 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.8974, allocations: 139.8 kB / 0.9144 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.8975, allocations: 55.88 kB / 0.9145 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/0.8976, allocations: 47.95 kB / 0.9145 GB, free: 1.336 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003324/0.9009, allocations: 1.753 MB / 0.9163 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9009, allocations: 0 / 0.9163 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002189/0.9031, allocations: 0.6901 MB / 0.9169 GB, free: 14.89 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/0.9043, allocations: 0.6166 MB / 0.9175 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004104/0.9084, allocations: 1.307 MB / 0.9188 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9084, allocations: 4.188 kB / 0.9188 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.9107, allocations: 0.6413 MB / 0.9194 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005901/0.9166, allocations: 1.318 MB / 0.9207 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.9239, allocations: 3.64 MB / 0.9243 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.9251, allocations: 1.478 MB / 0.9257 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.9258, allocations: 187.4 kB / 0.9259 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of SimCode: time 1.673e-06/0.9258, allocations: 3.938 kB / 0.9259 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of Templates: time 0.09252/1.018, allocations: 62.78 MB / 0.9872 GB, free: 7.066 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)