Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.005367/0.005367, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001803/0.001804, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8978/0.8978, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.98 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4889, allocations: 80.91 MB / 0.6641 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1909/0.6799, allocations: 166.9 MB / 0.8272 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02475/0.7047, allocations: 17.09 MB / 0.8439 GB, free: 9.016 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.7064, allocations: 31.81 kB / 0.8439 GB, free: 8.984 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.7083, allocations: 0.5509 MB / 0.8444 GB, free: 8.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.7139, allocations: 1.665 MB / 0.8461 GB, free: 6.762 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.718, allocations: 1.386 MB / 0.8474 GB, free: 5.387 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.722, allocations: 2.533 MB / 0.8499 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.7252, allocations: 1.951 MB / 0.8518 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.7297, allocations: 1.397 MB / 0.8532 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.7315, allocations: 1.019 MB / 0.8542 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000726/0.7322, allocations: 212 kB / 0.8544 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.7361, allocations: 1.544 MB / 0.8559 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.7372, allocations: 0.7633 MB / 0.8566 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.7392, allocations: 1.181 MB / 0.8578 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006414/0.7456, allocations: 3.55 MB / 0.8612 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7456, allocations: 0 / 0.8612 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7456, allocations: 0 / 0.8612 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001089/0.7457, allocations: 0 / 0.8612 GB, free: 7.203 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005237/0.751, allocations: 2.857 MB / 0.864 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.751, allocations: 12.03 kB / 0.864 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.7513, allocations: 236.5 kB / 0.8643 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.7551, allocations: 0.576 MB / 0.8648 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3591/1.114, allocations: 3.395 MB / 0.8681 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/1.114, allocations: 131.1 kB / 0.8683 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006006/1.115, allocations: 160.6 kB / 0.8684 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/1.12, allocations: 1.876 MB / 0.8702 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/1.12, allocations: 0.7812 kB / 0.8702 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/1.12, allocations: 75.75 kB / 0.8703 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/1.121, allocations: 40.5 kB / 0.8704 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/1.125, allocations: 2.036 MB / 0.8723 GB, free: 190.1 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.01041/1.135, allocations: 6.04 MB / 0.8782 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/1.139, allocations: 2.017 MB / 0.8802 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/1.14, allocations: 0.7311 MB / 0.8809 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005309/1.141, allocations: 428.7 kB / 0.8813 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/1.142, allocations: 0.9249 MB / 0.8822 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.757e-06/1.142, allocations: 0 / 0.8822 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006388/1.149, allocations: 2.844 MB / 0.885 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.149, allocations: 203.3 kB / 0.8852 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004554/1.153, allocations: 4.009 MB / 0.8891 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003576/1.154, allocations: 56.2 kB / 0.8892 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/1.154, allocations: 0.8831 MB / 0.89 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/1.155, allocations: 473.3 kB / 0.8905 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/1.155, allocations: 227.8 kB / 0.8907 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/1.155, allocations: 344.2 kB / 0.891 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/1.156, allocations: 0.5448 MB / 0.8916 GB, free: 179 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/1.157, allocations: 0.7602 MB / 0.8923 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/1.16, allocations: 1.254 MB / 0.8935 GB, free: 178 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.16, allocations: 1.969 kB / 0.8935 GB, free: 178 MB / 0.6856 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004042/1.164, allocations: 1.706 MB / 0.8952 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.164, allocations: 10.06 kB / 0.8952 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.164, allocations: 0 / 0.8952 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.165, allocations: 218.2 kB / 0.8954 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.166, allocations: 306.2 kB / 0.8957 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/1.171, allocations: 7.307 MB / 0.9028 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.173, allocations: 148.4 kB / 0.903 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.173, allocations: 48.38 kB / 0.903 GB, free: 169.4 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 (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.001171/1.175, allocations: 472.5 kB / 0.9035 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/1.175, allocations: 198.8 kB / 0.9037 GB, free: 169 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/1.18, allocations: 2.038 MB / 0.9057 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/1.18, allocations: 14.84 kB / 0.9057 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.18, allocations: 2.766 kB / 0.9057 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.18, allocations: 13 kB / 0.9057 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/1.187, allocations: 3.932 MB / 0.9095 GB, free: 165.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.187, allocations: 0 / 0.9095 GB, free: 165.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.189, allocations: 314.7 kB / 0.9098 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/1.19, allocations: 200.6 kB / 0.91 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/1.19, allocations: 35.98 kB / 0.9101 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/1.194, allocations: 7.362 MB / 0.9173 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.194, allocations: 0 / 0.9173 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/1.198, allocations: 1.908 MB / 0.9191 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.199, allocations: 0.5037 MB / 0.9196 GB, free: 155.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/1.199, allocations: 24 kB / 0.9196 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.2, allocations: 93.02 kB / 0.9197 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.201, allocations: 105 kB / 0.9198 GB, free: 155.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.201, allocations: 67.89 kB / 0.9199 GB, free: 155.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002578/1.203, allocations: 3.091 MB / 0.9229 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.203, allocations: 4 kB / 0.9229 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001584/1.205, allocations: 0.6421 MB / 0.9235 GB, free: 151.8 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.004733/1.21, allocations: 3.113 MB / 0.9266 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00267/1.212, allocations: 1.966 MB / 0.9285 GB, free: 146.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.212, allocations: 0.5625 kB / 0.9285 GB, free: 146.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.214, allocations: 1.383 MB / 0.9298 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.216, allocations: 0.516 MB / 0.9303 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/1.239, allocations: 20.47 MB / 0.9503 GB, free: 124.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.24, allocations: 1.505 MB / 0.9518 GB, free: 122.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001547/1.242, allocations: 0.5088 MB / 0.9523 GB, free: 122.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009198/1.243, allocations: 0.8546 MB / 0.9531 GB, free: 121.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.323e-06/1.243, allocations: 0 / 0.9531 GB, free: 121.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07985/1.323, allocations: 46.66 MB / 0.9987 GB, free: 75.09 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.9, allocations: 2.656 kB / 0.9987 GB, free: 75.09 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)