Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001052/0.001052, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 64.27 kB / 0.5048 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 80.93 MB / 0.5838 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3365/0.4573, allocations: 164.6 MB / 0.7446 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.4749, allocations: 17.18 MB / 0.7614 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.476, allocations: 31.81 kB / 0.7614 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.4775, allocations: 445.3 kB / 0.7618 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003754/0.4812, allocations: 1.459 MB / 0.7632 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.484, allocations: 1.234 MB / 0.7645 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.4866, allocations: 2.795 MB / 0.7672 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.4887, allocations: 1.81 MB / 0.7689 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.4931, allocations: 1.208 MB / 0.7701 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.4943, allocations: 1.015 MB / 0.7711 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.4946, allocations: 120 kB / 0.7712 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.4973, allocations: 1.571 MB / 0.7728 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.4979, allocations: 0.6813 MB / 0.7734 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.4991, allocations: 1.084 MB / 0.7745 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.5028, allocations: 3.454 MB / 0.7779 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5028, allocations: 0 / 0.7779 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5028, allocations: 0 / 0.7779 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.5029, allocations: 3.938 kB / 0.7779 GB, free: 6.672 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003847/0.5067, allocations: 2.795 MB / 0.7806 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5067, allocations: 8.031 kB / 0.7806 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.507, allocations: 244.6 kB / 0.7808 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.5104, allocations: 0.5512 MB / 0.7814 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.5136, allocations: 3.364 MB / 0.7847 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.5136, allocations: 123.3 kB / 0.7848 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.5138, allocations: 167.9 kB / 0.7849 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.5166, allocations: 1.885 MB / 0.7868 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.5167, allocations: 7.938 kB / 0.7868 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.5168, allocations: 68 kB / 0.7869 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5169, allocations: 40 kB / 0.7869 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/0.5199, allocations: 2.069 MB / 0.7889 GB, free: 11.18 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.0074/0.5273, allocations: 6.244 MB / 0.795 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.5301, allocations: 2.031 MB / 0.797 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.5312, allocations: 0.7452 MB / 0.7977 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.5317, allocations: 425.7 kB / 0.7981 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.5333, allocations: 0.9504 MB / 0.7991 GB, free: 372 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.766e-06/0.5333, allocations: 0 / 0.7991 GB, free: 372 kB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005754/0.539, allocations: 2.864 MB / 0.8019 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.5391, allocations: 197.2 kB / 0.802 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/0.5428, allocations: 4.028 MB / 0.806 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.5429, allocations: 57.7 kB / 0.806 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.5435, allocations: 0.8669 MB / 0.8069 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.5438, allocations: 465.2 kB / 0.8073 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.5441, allocations: 226.8 kB / 0.8075 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5442, allocations: 353.9 kB / 0.8079 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009805/0.5452, allocations: 0.553 MB / 0.8084 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.5464, allocations: 0.7735 MB / 0.8092 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.5485, allocations: 1.275 MB / 0.8104 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5485, allocations: 0 / 0.8104 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003324/0.5518, allocations: 1.717 MB / 0.8121 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5518, allocations: 8 kB / 0.8121 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5518, allocations: 3.938 kB / 0.8121 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.5528, allocations: 216.1 kB / 0.8123 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.5542, allocations: 311.6 kB / 0.8126 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08081/0.635, allocations: 6.81 MB / 0.8193 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.6364, allocations: 166.9 kB / 0.8194 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.6366, allocations: 51.91 kB / 0.8195 GB, free: 10.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006801/0.6372, allocations: 473.5 kB / 0.8199 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.6376, allocations: 181.8 kB / 0.8201 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.6416, allocations: 2.063 MB / 0.8221 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6416, allocations: 16 kB / 0.8221 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6417, allocations: 3.938 kB / 0.8221 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6417, allocations: 7.969 kB / 0.8221 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/0.6476, allocations: 3.945 MB / 0.826 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6476, allocations: 0 / 0.826 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.649, allocations: 311.6 kB / 0.8263 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008911/0.6499, allocations: 216 kB / 0.8265 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.657e-05/0.65, allocations: 43.91 kB / 0.8265 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.6548, allocations: 6.836 MB / 0.8332 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6548, allocations: 0 / 0.8332 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003505/0.6583, allocations: 1.917 MB / 0.8351 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/0.6591, allocations: 0.4944 MB / 0.8356 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.6593, allocations: 31.98 kB / 0.8356 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.6606, allocations: 128.9 kB / 0.8357 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.6608, allocations: 101.2 kB / 0.8358 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.661, allocations: 72.12 kB / 0.8359 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002773/0.6637, allocations: 3.096 MB / 0.8389 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6638, allocations: 0 / 0.8389 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001445/0.6652, allocations: 0.6469 MB / 0.8395 GB, free: 5.078 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005173/0.6704, allocations: 3.121 MB / 0.8426 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002972/0.6734, allocations: 1.992 MB / 0.8445 GB, free: 64 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6734, allocations: 0.7969 kB / 0.8445 GB, free: 64 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.6752, allocations: 1.387 MB / 0.8459 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.6771, allocations: 0.4937 MB / 0.8464 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.216/0.8931, allocations: 22.88 MB / 0.8687 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.8939, allocations: 1.506 MB / 0.8702 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001607/0.8955, allocations: 0.5109 MB / 0.8707 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/0.8963, allocations: 0.8551 MB / 0.8715 GB, free: 211.9 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.8963, allocations: 0 / 0.8715 GB, free: 211.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/1.915, allocations: 45.27 MB / 0.9157 GB, free: 201.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.915, allocations: 296.3 kB / 0.916 GB, free: 201.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/4.955, allocations: 0 / 0.916 GB, free: 201.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)