Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.007863/0.007864, allocations: 96.7 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.002009/0.002009, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7854/0.7854, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002944/0.002944, allocations: 67.97 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1807, allocations: 80.22 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5707/0.7515, allocations: 166.9 MB / 0.8222 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.7707, allocations: 17.1 MB / 0.8389 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.7726, allocations: 29.5 kB / 0.8389 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.7741, allocations: 0.5226 MB / 0.8394 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.7792, allocations: 1.644 MB / 0.841 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.783, allocations: 1.38 MB / 0.8424 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003532/0.7865, allocations: 2.525 MB / 0.8449 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.7888, allocations: 1.951 MB / 0.8468 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.7929, allocations: 1.35 MB / 0.8481 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.7947, allocations: 1.025 MB / 0.8491 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.7951, allocations: 209.1 kB / 0.8493 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.7988, allocations: 1.545 MB / 0.8508 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009184/0.7997, allocations: 0.7661 MB / 0.8515 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.8014, allocations: 1.176 MB / 0.8527 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0054/0.8068, allocations: 3.552 MB / 0.8562 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8069, allocations: 0 / 0.8562 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8069, allocations: 0.7812 kB / 0.8562 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.79e-05/0.8069, allocations: 0 / 0.8562 GB, free: 1.32 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004315/0.8113, allocations: 2.857 MB / 0.8589 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8113, allocations: 13.75 kB / 0.859 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002351/0.8116, allocations: 248.2 kB / 0.8592 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.815, allocations: 0.5711 MB / 0.8598 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.8186, allocations: 3.399 MB / 0.8631 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/0.8187, allocations: 125 kB / 0.8632 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.8188, allocations: 161.7 kB / 0.8633 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.8217, allocations: 1.876 MB / 0.8652 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.8217, allocations: 4.594 kB / 0.8652 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.8219, allocations: 70.81 kB / 0.8652 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.8219, allocations: 39.78 kB / 0.8653 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.8249, allocations: 2.042 MB / 0.8673 GB, free: 15.01 MB / 0.6544 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.008972/0.8339, allocations: 6.046 MB / 0.8732 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.8369, allocations: 2.001 MB / 0.8751 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.8381, allocations: 0.7321 MB / 0.8759 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.8388, allocations: 425.4 kB / 0.8763 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.8404, allocations: 0.936 MB / 0.8772 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 3.477e-06/0.8404, allocations: 0 / 0.8772 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006686/0.8471, allocations: 2.849 MB / 0.88 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.8473, allocations: 198.2 kB / 0.8801 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/0.8521, allocations: 4.008 MB / 0.8841 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.8524, allocations: 56.89 kB / 0.8841 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/0.8533, allocations: 0.8781 MB / 0.885 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.8537, allocations: 482.1 kB / 0.8854 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.8541, allocations: 226.5 kB / 0.8856 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.8544, allocations: 350.9 kB / 0.886 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.8554, allocations: 0.5384 MB / 0.8865 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.8568, allocations: 0.7621 MB / 0.8873 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.859, allocations: 1.258 MB / 0.8885 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.859, allocations: 1 kB / 0.8885 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003844/0.8629, allocations: 1.698 MB / 0.8901 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.8629, allocations: 6.031 kB / 0.8901 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.8629, allocations: 3.344 kB / 0.8901 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.864, allocations: 219.5 kB / 0.8904 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.8654, allocations: 305.9 kB / 0.8906 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.8723, allocations: 7.308 MB / 0.8978 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.8744, allocations: 149.8 kB / 0.8979 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.8745, allocations: 48.72 kB / 0.898 GB, free: 13.01 MB / 0.67 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 (132): * Single equations (assignments): 127 * 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.001117/0.8757, allocations: 481.1 kB / 0.8984 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/0.8761, allocations: 190.8 kB / 0.8986 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.8807, allocations: 2.038 MB / 0.9006 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.8807, allocations: 16.78 kB / 0.9006 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8807, allocations: 4 kB / 0.9006 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.8807, allocations: 7.969 kB / 0.9006 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007403/0.8881, allocations: 3.918 MB / 0.9045 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.8882, allocations: 0 / 0.9045 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.8896, allocations: 310 kB / 0.9048 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009148/0.8906, allocations: 210.1 kB / 0.905 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-05/0.8907, allocations: 39.97 kB / 0.905 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.8971, allocations: 7.349 MB / 0.9122 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8971, allocations: 32 / 0.9122 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.9017, allocations: 1.906 MB / 0.914 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/0.9027, allocations: 0.5031 MB / 0.9145 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.9029, allocations: 35.83 kB / 0.9146 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.904, allocations: 106.1 kB / 0.9147 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.9043, allocations: 100.3 kB / 0.9148 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.9044, allocations: 63.95 kB / 0.9148 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003537/0.908, allocations: 3.087 MB / 0.9178 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.91e-07/0.908, allocations: 0 / 0.9178 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001847/0.9099, allocations: 0.6391 MB / 0.9185 GB, free: 7.328 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.006492/0.9164, allocations: 3.123 MB / 0.9215 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.9199, allocations: 1.977 MB / 0.9234 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.9199, allocations: 0.7969 kB / 0.9234 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.922, allocations: 1.373 MB / 0.9248 GB, free: 1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.9246, allocations: 0.5251 MB / 0.9253 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/0.9562, allocations: 20.46 MB / 0.9453 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.9576, allocations: 1.506 MB / 0.9467 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001839/0.9594, allocations: 0.5161 MB / 0.9472 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.9606, allocations: 0.8507 MB / 0.9481 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.9606, allocations: 0 / 0.9481 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/1.116, allocations: 46.64 MB / 0.9936 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.27, allocations: 2.953 kB / 0.9936 GB, free: 10.91 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)