Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001307/0.001307, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001216/0.001216, allocations: 187 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002282/0.002282, allocations: 291.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9703/0.9703, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 87.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4577, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1558/0.6136, allocations: 132.2 MB / 0.8961 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05476/0.6684, allocations: 23.21 MB / 0.9188 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004896/0.6733, allocations: 127.2 kB / 0.9189 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004518/0.6779, allocations: 1.49 MB / 0.9204 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.6904, allocations: 4.098 MB / 0.9244 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006131/0.6965, allocations: 2.177 MB / 0.9265 GB, free: 92 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.7072, allocations: 6.523 MB / 0.9329 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004727/0.7119, allocations: 2.355 MB / 0.9352 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/0.7192, allocations: 2.8 MB / 0.9379 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.7232, allocations: 1.882 MB / 0.9397 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.7242, allocations: 244 kB / 0.94 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.7297, allocations: 1.938 MB / 0.9419 GB, free: 264 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.7309, allocations: 0.5914 MB / 0.9425 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003345/0.7343, allocations: 1.458 MB / 0.9439 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.7442, allocations: 4.377 MB / 0.9481 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.7443, allocations: 12 kB / 0.9482 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7443, allocations: 0 / 0.9482 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001515/0.7445, allocations: 0 / 0.9482 GB, free: 9.801 MB / 0.7169 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.008269/0.7527, allocations: 3.156 MB / 0.9512 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.7528, allocations: 16.03 kB / 0.9513 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/0.7575, allocations: 0.8399 MB / 0.9521 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/0.7628, allocations: 2.333 MB / 0.9544 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.7629, allocations: 127 kB / 0.9545 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.7632, allocations: 160 kB / 0.9546 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.7674, allocations: 1.923 MB / 0.9565 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.7675, allocations: 3.938 kB / 0.9565 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.7676, allocations: 64 kB / 0.9566 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.7677, allocations: 39.94 kB / 0.9566 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3964/1.164, allocations: 1.778 MB / 0.9583 GB, free: 184 MB / 0.7169 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.01401/1.178, allocations: 8.956 MB / 0.9671 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/1.182, allocations: 1.206 MB / 0.9683 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/1.184, allocations: 460.2 kB / 0.9687 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.185, allocations: 1.722 MB / 0.9704 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.185, allocations: 46.41 kB / 0.9704 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.877e-06/1.185, allocations: 0 / 0.9704 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008743/1.194, allocations: 2.325 MB / 0.9727 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.194, allocations: 81.08 kB / 0.9728 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/1.197, allocations: 2.501 MB / 0.9752 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.197, allocations: 41.67 kB / 0.9753 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/1.198, allocations: 1.036 MB / 0.9763 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/1.198, allocations: 272.2 kB / 0.9765 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/1.198, allocations: 265 kB / 0.9768 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/1.198, allocations: 341.8 kB / 0.9771 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/1.2, allocations: 0.5713 MB / 0.9777 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/1.202, allocations: 0.9522 MB / 0.9786 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/1.204, allocations: 1.249 MB / 0.9798 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.204, allocations: 0 / 0.9798 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006032/1.21, allocations: 2.017 MB / 0.9818 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.21, allocations: 10.94 kB / 0.9818 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.21, allocations: 9.656 kB / 0.9818 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/1.212, allocations: 419.1 kB / 0.9822 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.213, allocations: 274.7 kB / 0.9825 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/1.215, allocations: 1.505 MB / 0.9839 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.218, allocations: 368.3 kB / 0.9843 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.218, allocations: 66.23 kB / 0.9844 GB, free: 167.3 MB / 0.7169 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.0008404/1.219, allocations: 462.8 kB / 0.9848 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.219, allocations: 244.9 kB / 0.985 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/1.222, allocations: 1.5 MB / 0.9865 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.222, allocations: 15.06 kB / 0.9865 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.222, allocations: 0 / 0.9865 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.222, allocations: 4.078 kB / 0.9865 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00645/1.229, allocations: 3.611 MB / 0.99 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.229, allocations: 4 kB / 0.99 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/1.229, allocations: 132.1 kB / 0.9902 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/1.231, allocations: 409.3 kB / 0.9906 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/1.231, allocations: 23.98 kB / 0.9906 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/1.233, allocations: 1.576 MB / 0.9921 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.233, allocations: 4 kB / 0.9921 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/1.239, allocations: 1.943 MB / 0.994 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.24, allocations: 493.5 kB / 0.9945 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/1.24, allocations: 16 kB / 0.9945 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.242, allocations: 139.8 kB / 0.9946 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.242, allocations: 59.86 kB / 0.9947 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/1.242, allocations: 47.91 kB / 0.9947 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002502/1.244, allocations: 1.742 MB / 0.9964 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.244, allocations: 4 kB / 0.9965 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001756/1.246, allocations: 0.6789 MB / 0.9971 GB, free: 154 MB / 0.7169 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.0009936/1.247, allocations: 0.6146 MB / 0.9977 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003587/1.251, allocations: 1.348 MB / 0.999 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.251, allocations: 4 kB / 0.999 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/1.253, allocations: 0.6564 MB / 0.9997 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/1.258, allocations: 1.329 MB / 1.001 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/1.263, allocations: 3.564 MB / 1.004 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/1.264, allocations: 1.482 MB / 1.006 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/1.265, allocations: 183.4 kB / 1.006 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/1.265, allocations: 0 / 1.006 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.05992/1.324, allocations: 62.6 MB / 1.067 GB, free: 82.68 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)