Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_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.001119/0.001119, allocations: 111.9 kB / 15.61 MB, free: 128 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.001142/0.001142, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 64.22 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3193, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1178/0.4372, allocations: 132.2 MB / 0.7093 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02873/0.4659, allocations: 23.2 MB / 0.7319 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.4692, allocations: 127.2 kB / 0.732 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.4723, allocations: 1.487 MB / 0.7335 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008869/0.4812, allocations: 4.084 MB / 0.7375 GB, free: 16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.4857, allocations: 2.149 MB / 0.7396 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007024/0.4927, allocations: 6.509 MB / 0.7459 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.4955, allocations: 2.37 MB / 0.7483 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004796/0.5003, allocations: 2.749 MB / 0.7509 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.5024, allocations: 1.875 MB / 0.7528 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.5028, allocations: 252 kB / 0.753 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.5065, allocations: 1.93 MB / 0.7549 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.507, allocations: 0.5954 MB / 0.7555 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.5083, allocations: 1.462 MB / 0.7569 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.5129, allocations: 4.331 MB / 0.7611 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5129, allocations: 0 / 0.7611 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5129, allocations: 0 / 0.7611 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.961e-05/0.513, allocations: 0 / 0.7611 GB, free: 7.691 MB / 0.5919 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.004909/0.5179, allocations: 3.191 MB / 0.7643 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5179, allocations: 8.031 kB / 0.7643 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.5182, allocations: 223.8 kB / 0.7645 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.5225, allocations: 0.8356 MB / 0.7653 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.5263, allocations: 2.221 MB / 0.7675 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009564/0.5273, allocations: 298.8 kB / 0.7677 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.5275, allocations: 160 kB / 0.7679 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.5313, allocations: 1.938 MB / 0.7698 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.5314, allocations: 7.938 kB / 0.7698 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.5315, allocations: 63.98 kB / 0.7699 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.5316, allocations: 40 kB / 0.7699 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/0.5363, allocations: 1.811 MB / 0.7717 GB, free: 12.66 MB / 0.6075 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.01176/0.548, allocations: 9.059 MB / 0.7805 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.5523, allocations: 1.198 MB / 0.7817 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.5534, allocations: 457.4 kB / 0.7821 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.5545, allocations: 1.723 MB / 0.7838 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5546, allocations: 46.56 kB / 0.7838 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.697e-06/0.5546, allocations: 3.984 kB / 0.7838 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008591/0.5632, allocations: 2.33 MB / 0.7861 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5632, allocations: 85.11 kB / 0.7862 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.567, allocations: 2.516 MB / 0.7887 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.5671, allocations: 41.7 kB / 0.7887 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008308/0.5679, allocations: 1.045 MB / 0.7897 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.5681, allocations: 272.2 kB / 0.79 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.5686, allocations: 254.6 kB / 0.7902 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5687, allocations: 345.9 kB / 0.7906 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.5705, allocations: 0.592 MB / 0.7911 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.5726, allocations: 0.9621 MB / 0.7921 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/0.5757, allocations: 1.269 MB / 0.7933 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5757, allocations: 0 / 0.7933 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006545/0.5823, allocations: 2.051 MB / 0.7953 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5823, allocations: 9.094 kB / 0.7953 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5823, allocations: 8 kB / 0.7953 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.5839, allocations: 421.9 kB / 0.7957 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.5851, allocations: 291.5 kB / 0.796 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.5873, allocations: 1.509 MB / 0.7975 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.5899, allocations: 382.1 kB / 0.7978 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.59, allocations: 59.97 kB / 0.7979 GB, free: 320 kB / 0.6231 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.0007609/0.5908, allocations: 465.5 kB / 0.7983 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.5912, allocations: 248.9 kB / 0.7986 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.5948, allocations: 1.489 MB / 0.8 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.5948, allocations: 15.98 kB / 0.8001 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5948, allocations: 0 / 0.8001 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5948, allocations: 11.86 kB / 0.8001 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007072/0.6019, allocations: 3.596 MB / 0.8036 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6019, allocations: 0 / 0.8036 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.6025, allocations: 132.2 kB / 0.8037 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.6039, allocations: 423.7 kB / 0.8041 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.604, allocations: 23.97 kB / 0.8041 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.6066, allocations: 1.573 MB / 0.8057 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6066, allocations: 4 kB / 0.8057 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.6125, allocations: 1.931 MB / 0.8076 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.6132, allocations: 481.7 kB / 0.808 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.6135, allocations: 27.98 kB / 0.808 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6152, allocations: 143.8 kB / 0.8082 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.6153, allocations: 59.8 kB / 0.8082 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.6153, allocations: 39.97 kB / 0.8083 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002742/0.6181, allocations: 1.773 MB / 0.81 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6181, allocations: 0 / 0.81 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001692/0.6198, allocations: 0.6905 MB / 0.8107 GB, free: 2.949 MB / 0.6387 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.2115/0.8313, allocations: 2.997 MB / 0.8136 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004658/0.836, allocations: 1.397 MB / 0.815 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.836, allocations: 0.875 kB / 0.815 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.8383, allocations: 0.6632 MB / 0.8156 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00588/0.8442, allocations: 1.332 MB / 0.8169 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/0.8759, allocations: 19.07 MB / 0.8355 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.8767, allocations: 1.484 MB / 0.837 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002021/0.8788, allocations: 440.5 kB / 0.8374 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/0.8797, allocations: 0.9035 MB / 0.8383 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.8797, allocations: 0 / 0.8383 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08143/0.9611, allocations: 68.17 MB / 0.9049 GB, free: 141.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.72, allocations: 3.984 kB / 0.9049 GB, free: 141.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)