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.001712/0.001712, allocations: 108 kB / 15.61 MB, free: 152 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.001715/0.001715, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9118/0.9118, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.06 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4067/0.5528, allocations: 167 MB / 0.7475 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.5773, allocations: 17.11 MB / 0.7642 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.5795, allocations: 31.81 kB / 0.7643 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.5817, allocations: 0.5313 MB / 0.7648 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.5872, allocations: 1.636 MB / 0.7664 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.5906, allocations: 1.384 MB / 0.7677 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.5937, allocations: 2.53 MB / 0.7702 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.5963, allocations: 1.955 MB / 0.7721 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.6003, allocations: 1.341 MB / 0.7734 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.6018, allocations: 1.045 MB / 0.7744 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005838/0.6024, allocations: 208 kB / 0.7746 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.6061, allocations: 1.505 MB / 0.7761 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.6073, allocations: 0.7711 MB / 0.7769 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.6092, allocations: 1.185 MB / 0.778 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005524/0.6147, allocations: 3.482 MB / 0.7814 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.046e-06/0.6147, allocations: 0 / 0.7814 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6148, allocations: 3.938 kB / 0.7814 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000109/0.6149, allocations: 0 / 0.7814 GB, free: 3.184 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.00581/0.6207, allocations: 2.791 MB / 0.7841 GB, free: 340 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.6207, allocations: 19.97 kB / 0.7842 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004102/0.6212, allocations: 236.6 kB / 0.7844 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/0.6253, allocations: 0.5591 MB / 0.7849 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004742/0.63, allocations: 3.356 MB / 0.7882 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.6302, allocations: 131.2 kB / 0.7883 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003779/0.6306, allocations: 163.9 kB / 0.7885 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/0.6348, allocations: 1.888 MB / 0.7903 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.6348, allocations: 4 kB / 0.7903 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.6351, allocations: 72 kB / 0.7904 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.6351, allocations: 40 kB / 0.7904 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/0.6391, allocations: 2.065 MB / 0.7925 GB, free: 7.684 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.01045/0.6495, allocations: 6.248 MB / 0.7986 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00338/0.6529, allocations: 2.033 MB / 0.8005 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.6543, allocations: 0.7374 MB / 0.8013 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006169/0.6549, allocations: 425.6 kB / 0.8017 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/0.6567, allocations: 0.9487 MB / 0.8026 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.737e-06/0.6567, allocations: 0 / 0.8026 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.007033/0.6637, allocations: 2.872 MB / 0.8054 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.6639, allocations: 197.2 kB / 0.8056 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/0.6695, allocations: 4.028 MB / 0.8095 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003735/0.6699, allocations: 61.69 kB / 0.8096 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.6708, allocations: 0.8785 MB / 0.8104 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/0.6714, allocations: 461.2 kB / 0.8109 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/0.672, allocations: 226.8 kB / 0.8111 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6722, allocations: 353.9 kB / 0.8114 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.6735, allocations: 0.5491 MB / 0.812 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.6749, allocations: 0.7657 MB / 0.8127 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.6774, allocations: 1.282 MB / 0.814 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.6774, allocations: 0 / 0.814 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004256/0.6817, allocations: 1.725 MB / 0.8157 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6818, allocations: 4 kB / 0.8157 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6818, allocations: 4 kB / 0.8157 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.6829, allocations: 216.1 kB / 0.8159 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.6844, allocations: 307.6 kB / 0.8162 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005566/0.69, allocations: 7.328 MB / 0.8233 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6915, allocations: 151 kB / 0.8235 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.6917, allocations: 43.97 kB / 0.8235 GB, free: 6.449 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.0009798/0.6927, allocations: 476.6 kB / 0.824 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/0.6933, allocations: 189.7 kB / 0.8241 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/0.698, allocations: 2.055 MB / 0.8261 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.6981, allocations: 16 kB / 0.8262 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.6981, allocations: 0 / 0.8262 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.6981, allocations: 7.969 kB / 0.8262 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/0.7054, allocations: 3.963 MB / 0.83 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7054, allocations: 0 / 0.83 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.707, allocations: 311.6 kB / 0.8303 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/0.7079, allocations: 204.1 kB / 0.8305 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.7081, allocations: 39.97 kB / 0.8306 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005977/0.7141, allocations: 7.36 MB / 0.8378 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7141, allocations: 3.984 kB / 0.8378 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.7183, allocations: 1.92 MB / 0.8396 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000952/0.7193, allocations: 0.4943 MB / 0.8401 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.7196, allocations: 24 kB / 0.8401 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.721, allocations: 99.91 kB / 0.8402 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.7213, allocations: 101.2 kB / 0.8403 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.7214, allocations: 68.02 kB / 0.8404 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003826/0.7253, allocations: 3.104 MB / 0.8434 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7253, allocations: 0 / 0.8434 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002749/0.7281, allocations: 0.6352 MB / 0.8441 GB, free: 0.5195 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.00736/0.7354, allocations: 3.125 MB / 0.8471 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005108/0.7406, allocations: 2.414 MB / 0.8495 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.7406, allocations: 0.7969 kB / 0.8495 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.7427, allocations: 1.379 MB / 0.8508 GB, free: 9.645 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.7453, allocations: 0.5231 MB / 0.8513 GB, free: 9.145 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2694/1.015, allocations: 22.15 MB / 0.873 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/1.016, allocations: 1.506 MB / 0.8744 GB, free: 211.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001854/1.017, allocations: 0.5081 MB / 0.8749 GB, free: 211.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009832/1.018, allocations: 0.8502 MB / 0.8757 GB, free: 210.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.413e-06/1.018, allocations: 0 / 0.8757 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09606/1.115, allocations: 46.63 MB / 0.9213 GB, free: 199.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.78, allocations: 13.59 kB / 0.9213 GB, free: 199.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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)