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.0044/0.0044, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001015/0.001015, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9033/0.9033, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3932, allocations: 80.92 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1706/0.5639, allocations: 167 MB / 0.8272 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.5847, allocations: 17.12 MB / 0.8439 GB, free: 8.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.586, allocations: 31.81 kB / 0.844 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.5877, allocations: 0.5392 MB / 0.8445 GB, free: 8.246 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.5924, allocations: 1.672 MB / 0.8461 GB, free: 6.57 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.596, allocations: 1.396 MB / 0.8475 GB, free: 5.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.5992, allocations: 2.545 MB / 0.85 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.602, allocations: 1.962 MB / 0.8519 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.6057, allocations: 1.386 MB / 0.8533 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.6072, allocations: 1.041 MB / 0.8543 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.6077, allocations: 208 kB / 0.8545 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.6108, allocations: 1.544 MB / 0.856 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008466/0.6117, allocations: 0.7751 MB / 0.8567 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.6134, allocations: 1.181 MB / 0.8579 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.6185, allocations: 3.561 MB / 0.8614 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6185, allocations: 8 kB / 0.8614 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6185, allocations: 0 / 0.8614 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001011/0.6186, allocations: 0 / 0.8614 GB, free: 6.941 MB / 0.6856 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.0055/0.6241, allocations: 2.882 MB / 0.8642 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.6242, allocations: 8.031 kB / 0.8642 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002682/0.6244, allocations: 240.6 kB / 0.8644 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.6281, allocations: 0.576 MB / 0.865 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3135/0.9416, allocations: 3.4 MB / 0.8683 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.9418, allocations: 128.7 kB / 0.8684 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.9423, allocations: 162.6 kB / 0.8686 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00432/0.9466, allocations: 1.886 MB / 0.8704 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.9467, allocations: 5.359 kB / 0.8704 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.9468, allocations: 73.34 kB / 0.8705 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.9469, allocations: 39.38 kB / 0.8705 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/0.9507, allocations: 2.068 MB / 0.8726 GB, free: 189.6 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.008489/0.9592, allocations: 6.196 MB / 0.8786 GB, free: 186 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.9621, allocations: 2.032 MB / 0.8806 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.9632, allocations: 0.7376 MB / 0.8813 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.9637, allocations: 436.4 kB / 0.8817 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.9652, allocations: 0.9419 MB / 0.8827 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.976e-06/0.9652, allocations: 0 / 0.8827 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006207/0.9714, allocations: 2.884 MB / 0.8855 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.9715, allocations: 198.7 kB / 0.8857 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/0.9753, allocations: 4.031 MB / 0.8896 GB, free: 180 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.9755, allocations: 56.61 kB / 0.8896 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/0.9761, allocations: 0.8852 MB / 0.8905 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.9764, allocations: 476.5 kB / 0.891 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.9767, allocations: 228 kB / 0.8912 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.9768, allocations: 353.4 kB / 0.8915 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.9778, allocations: 0.5503 MB / 0.8921 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.9789, allocations: 0.774 MB / 0.8928 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.981, allocations: 1.279 MB / 0.8941 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.981, allocations: 0.9375 kB / 0.8941 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00352/0.9846, allocations: 1.73 MB / 0.8958 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.9846, allocations: 5.406 kB / 0.8958 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.9846, allocations: 0.5312 kB / 0.8958 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.9856, allocations: 213.6 kB / 0.896 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.9871, allocations: 315.6 kB / 0.8963 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.9913, allocations: 7.32 MB / 0.9034 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.9928, allocations: 159.1 kB / 0.9036 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.9929, allocations: 44.97 kB / 0.9036 GB, free: 168.5 MB / 0.6856 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.0008097/0.9937, allocations: 478.4 kB / 0.9041 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.9941, allocations: 195.3 kB / 0.9042 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.9979, allocations: 2.055 MB / 0.9063 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.998, allocations: 14.22 kB / 0.9063 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.998, allocations: 9.062 kB / 0.9063 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.998, allocations: 12.98 kB / 0.9063 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005905/1.004, allocations: 3.946 MB / 0.9101 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/1.004, allocations: 0 / 0.9101 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.005, allocations: 316.4 kB / 0.9104 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/1.006, allocations: 200.1 kB / 0.9106 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/1.006, allocations: 43.44 kB / 0.9107 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/1.01, allocations: 7.355 MB / 0.9179 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.01, allocations: 0 / 0.9179 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/1.013, allocations: 1.94 MB / 0.9198 GB, free: 155.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/1.014, allocations: 0.4928 MB / 0.9202 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.014, allocations: 34.14 kB / 0.9203 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.015, allocations: 105 kB / 0.9204 GB, free: 154.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.016, allocations: 105.1 kB / 0.9205 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.016, allocations: 67.95 kB / 0.9205 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002179/1.018, allocations: 3.104 MB / 0.9236 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.61e-07/1.018, allocations: 0 / 0.9236 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001395/1.019, allocations: 0.6482 MB / 0.9242 GB, free: 151 MB / 0.6856 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.004845/1.024, allocations: 3.134 MB / 0.9273 GB, free: 148 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.027, allocations: 1.994 MB / 0.9292 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.027, allocations: 4.312 kB / 0.9292 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/1.029, allocations: 1.383 MB / 0.9306 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.031, allocations: 0.5323 MB / 0.9311 GB, free: 144 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.054, allocations: 20.74 MB / 0.9513 GB, free: 123 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/1.055, allocations: 1.513 MB / 0.9528 GB, free: 121.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001448/1.056, allocations: 0.5088 MB / 0.9533 GB, free: 121 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009504/1.057, allocations: 0.8506 MB / 0.9541 GB, free: 120.1 MB / 0.6856 GB Notification: Performance of SimCode: time 2.004e-06/1.057, allocations: 0 / 0.9541 GB, free: 120.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/1.13, allocations: 47.07 MB / 1 GB, free: 73.55 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.7, allocations: 3.938 kB / 1 GB, free: 73.55 MB / 0.6856 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)