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: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007654/0.007654, allocations: 103 kB / 15.73 MB, free: 6.051 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.001692/0.001692, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9354/0.9354, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4854, allocations: 80.9 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1328/0.6182, allocations: 132.2 MB / 0.7932 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03422/0.6525, allocations: 23.2 MB / 0.8159 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006301/0.6588, allocations: 123.2 kB / 0.816 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005198/0.6641, allocations: 1.537 MB / 0.8175 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.6773, allocations: 4.299 MB / 0.8217 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006255/0.6836, allocations: 2.178 MB / 0.8238 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.6938, allocations: 6.557 MB / 0.8302 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/0.6978, allocations: 2.363 MB / 0.8325 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007086/0.705, allocations: 2.817 MB / 0.8353 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.7088, allocations: 1.89 MB / 0.8371 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006065/0.7094, allocations: 248 kB / 0.8374 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00532/0.7147, allocations: 1.934 MB / 0.8393 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.7158, allocations: 0.5954 MB / 0.8398 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003316/0.7191, allocations: 1.454 MB / 0.8413 GB, free: 11.69 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.7295, allocations: 4.393 MB / 0.8456 GB, free: 7.285 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.7295, allocations: 0 / 0.8456 GB, free: 7.285 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7296, allocations: 0 / 0.8456 GB, free: 7.285 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.00011/0.7297, allocations: 4 kB / 0.8456 GB, free: 7.281 MB / 0.67 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.00693/0.7366, allocations: 3.172 MB / 0.8487 GB, free: 4.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.7367, allocations: 12.03 kB / 0.8487 GB, free: 4.012 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.737, allocations: 219.8 kB / 0.8489 GB, free: 3.785 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.7413, allocations: 0.8356 MB / 0.8497 GB, free: 2.945 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/0.7466, allocations: 2.35 MB / 0.852 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.7468, allocations: 127 kB / 0.8521 GB, free: 404 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.747, allocations: 164 kB / 0.8523 GB, free: 240 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.751, allocations: 1.923 MB / 0.8541 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.7511, allocations: 3.938 kB / 0.8541 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.7512, allocations: 60 kB / 0.8542 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.7513, allocations: 40 kB / 0.8542 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005614/0.7569, allocations: 1.784 MB / 0.856 GB, free: 12.36 MB / 0.6856 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.02001/0.7769, allocations: 8.969 MB / 0.8647 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.7834, allocations: 1.209 MB / 0.8659 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.7851, allocations: 457.4 kB / 0.8664 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4395/1.225, allocations: 1.721 MB / 0.868 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.225, allocations: 44.94 kB / 0.8681 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/1.225, allocations: 0 / 0.8681 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.008721/1.233, allocations: 2.321 MB / 0.8703 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/1.233, allocations: 86.47 kB / 0.8704 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/1.237, allocations: 2.506 MB / 0.8729 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/1.238, allocations: 45.36 kB / 0.8729 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/1.238, allocations: 1.034 MB / 0.8739 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/1.239, allocations: 275.7 kB / 0.8742 GB, free: 184 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/1.239, allocations: 253 kB / 0.8744 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/1.239, allocations: 353.3 kB / 0.8748 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/1.241, allocations: 0.5681 MB / 0.8753 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/1.243, allocations: 0.9498 MB / 0.8763 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/1.245, allocations: 1.25 MB / 0.8775 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/1.245, allocations: 2.75 kB / 0.8775 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006279/1.252, allocations: 2.024 MB / 0.8795 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.252, allocations: 8.125 kB / 0.8795 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.252, allocations: 7.031 kB / 0.8795 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/1.253, allocations: 423.6 kB / 0.8799 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.255, allocations: 284.3 kB / 0.8801 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.256, allocations: 1.501 MB / 0.8816 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/1.259, allocations: 366.2 kB / 0.882 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/1.26, allocations: 58.09 kB / 0.882 GB, free: 180.2 MB / 0.6856 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.001069/1.261, allocations: 478.5 kB / 0.8825 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007996/1.261, allocations: 243.5 kB / 0.8827 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/1.265, allocations: 1.485 MB / 0.8842 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/1.265, allocations: 8.781 kB / 0.8842 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.265, allocations: 1.312 kB / 0.8842 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/1.265, allocations: 11.67 kB / 0.8842 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007638/1.273, allocations: 3.602 MB / 0.8877 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.273, allocations: 6.5 kB / 0.8877 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/1.274, allocations: 130 kB / 0.8878 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/1.275, allocations: 427.3 kB / 0.8882 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/1.275, allocations: 26.08 kB / 0.8883 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/1.277, allocations: 1.567 MB / 0.8898 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.277, allocations: 3.188 kB / 0.8898 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/1.283, allocations: 1.936 MB / 0.8917 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.284, allocations: 485.2 kB / 0.8921 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/1.284, allocations: 22.41 kB / 0.8922 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.286, allocations: 135.6 kB / 0.8923 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/1.286, allocations: 65.2 kB / 0.8924 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/1.286, allocations: 42.12 kB / 0.8924 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00277/1.289, allocations: 1.755 MB / 0.8941 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.289, allocations: 0 / 0.8941 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002125/1.291, allocations: 0.683 MB / 0.8948 GB, free: 172.3 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.006515/1.297, allocations: 2.983 MB / 0.8977 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.301, allocations: 1.358 MB / 0.899 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.301, allocations: 0 / 0.899 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.303, allocations: 0.6618 MB / 0.8997 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005444/1.309, allocations: 1.325 MB / 0.901 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03016/1.339, allocations: 16.53 MB / 0.9171 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/1.34, allocations: 1.486 MB / 0.9185 GB, free: 155.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001695/1.341, allocations: 431.3 kB / 0.919 GB, free: 155.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009756/1.342, allocations: 0.9054 MB / 0.9198 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of SimCode: time 9.62e-07/1.342, allocations: 0 / 0.9198 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09304/1.435, allocations: 65.9 MB / 0.9842 GB, free: 89.31 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.81, allocations: 22.17 kB / 0.9842 GB, free: 89.29 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)