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.001297/0.001296, allocations: 108 kB / 15.6 MB, free: 132 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.001233/0.001233, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7754/0.7754, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.94 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3845, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.183/0.5675, allocations: 166.9 MB / 0.7432 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.5926, allocations: 17.1 MB / 0.7599 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.5944, allocations: 31.81 kB / 0.7599 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.5966, allocations: 0.5352 MB / 0.7605 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.6022, allocations: 1.636 MB / 0.7621 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.6061, allocations: 1.365 MB / 0.7634 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.6091, allocations: 2.517 MB / 0.7658 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.6117, allocations: 1.955 MB / 0.7678 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.6152, allocations: 1.345 MB / 0.7691 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.6166, allocations: 1.027 MB / 0.7701 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.617, allocations: 208 kB / 0.7703 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.6201, allocations: 1.505 MB / 0.7717 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008259/0.6209, allocations: 0.7712 MB / 0.7725 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.6226, allocations: 1.181 MB / 0.7736 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.6268, allocations: 3.466 MB / 0.777 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6268, allocations: 0 / 0.777 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6268, allocations: 0 / 0.777 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.6268, allocations: 0 / 0.777 GB, free: 7.277 MB / 0.6075 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.004256/0.6311, allocations: 2.771 MB / 0.7797 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6312, allocations: 11.97 kB / 0.7797 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.6314, allocations: 240.5 kB / 0.78 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.635, allocations: 0.559 MB / 0.7805 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.6389, allocations: 3.342 MB / 0.7838 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.639, allocations: 135.2 kB / 0.7839 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.6392, allocations: 168 kB / 0.7841 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.6421, allocations: 1.872 MB / 0.7859 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.6422, allocations: 0 / 0.7859 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.6423, allocations: 68 kB / 0.786 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.6424, allocations: 40 kB / 0.786 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.6456, allocations: 2.042 MB / 0.788 GB, free: 11.85 MB / 0.6231 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.008351/0.654, allocations: 6.088 MB / 0.7939 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.657, allocations: 1.998 MB / 0.7959 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.6582, allocations: 0.7373 MB / 0.7966 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.6587, allocations: 425.7 kB / 0.797 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.6603, allocations: 0.9348 MB / 0.7979 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.796e-06/0.6603, allocations: 3.938 kB / 0.7979 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.00642/0.6667, allocations: 2.832 MB / 0.8007 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6668, allocations: 197.2 kB / 0.8009 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.6716, allocations: 4.011 MB / 0.8048 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.6718, allocations: 57.7 kB / 0.8049 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.6726, allocations: 0.8628 MB / 0.8057 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.6731, allocations: 461.3 kB / 0.8061 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.6735, allocations: 222.8 kB / 0.8064 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6736, allocations: 353.9 kB / 0.8067 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6747, allocations: 0.5413 MB / 0.8072 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.6759, allocations: 0.7617 MB / 0.808 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.6782, allocations: 1.251 MB / 0.8092 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6783, allocations: 3.938 kB / 0.8092 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004113/0.6824, allocations: 1.694 MB / 0.8108 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6824, allocations: 7.938 kB / 0.8109 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6824, allocations: 4 kB / 0.8109 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.6836, allocations: 212.2 kB / 0.8111 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.6851, allocations: 307.5 kB / 0.8114 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2471/0.9322, allocations: 7.308 MB / 0.8185 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.9338, allocations: 149.8 kB / 0.8186 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9339, allocations: 45.81 kB / 0.8187 GB, free: 213.5 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 (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.0008948/0.9348, allocations: 475.4 kB / 0.8191 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.9352, allocations: 184 kB / 0.8193 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.9396, allocations: 2.044 MB / 0.8213 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.9397, allocations: 18.41 kB / 0.8213 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9397, allocations: 1.781 kB / 0.8213 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.9397, allocations: 8.062 kB / 0.8213 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008098/0.9478, allocations: 3.916 MB / 0.8252 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9479, allocations: 5.016 kB / 0.8252 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.9493, allocations: 309 kB / 0.8255 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009399/0.9503, allocations: 215 kB / 0.8257 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.9504, allocations: 34.66 kB / 0.8257 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/0.9547, allocations: 7.352 MB / 0.8329 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9547, allocations: 1.641 kB / 0.8329 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/0.9586, allocations: 1.9 MB / 0.8347 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/0.9595, allocations: 0.4905 MB / 0.8352 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.9597, allocations: 28.61 kB / 0.8352 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.9609, allocations: 96.56 kB / 0.8353 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.9612, allocations: 103.9 kB / 0.8354 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.9613, allocations: 65.05 kB / 0.8355 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002814/0.9641, allocations: 3.086 MB / 0.8385 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.9642, allocations: 0 / 0.8385 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001705/0.9659, allocations: 0.6379 MB / 0.8391 GB, free: 201.7 MB / 0.6387 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.005201/0.9711, allocations: 3.098 MB / 0.8422 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004542/0.9756, allocations: 2.382 MB / 0.8445 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9757, allocations: 7.875 kB / 0.8445 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.9774, allocations: 1.373 MB / 0.8458 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.9797, allocations: 0.5193 MB / 0.8463 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.004, allocations: 21.85 MB / 0.8677 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/1.005, allocations: 1.502 MB / 0.8691 GB, free: 178.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00195/1.007, allocations: 0.5161 MB / 0.8696 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/1.008, allocations: 0.8552 MB / 0.8705 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/1.008, allocations: 0 / 0.8705 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07443/1.082, allocations: 46.21 MB / 0.9156 GB, free: 131.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.66, allocations: 0 / 0.9156 GB, free: 131.3 MB / 0.6387 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)