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.005522/0.005522, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002074/0.002074, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8267/0.8267, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 61.77 kB / 0.5857 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 81.02 MB / 0.6649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5336/0.6892, allocations: 166.9 MB / 0.8279 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.7105, allocations: 17.11 MB / 0.8446 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.7123, allocations: 32.34 kB / 0.8446 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.714, allocations: 0.5264 MB / 0.8451 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0048/0.7188, allocations: 1.632 MB / 0.8467 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.7222, allocations: 1.382 MB / 0.8481 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.7257, allocations: 2.531 MB / 0.8505 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.7286, allocations: 1.948 MB / 0.8524 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.733, allocations: 1.354 MB / 0.8538 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.7349, allocations: 1.028 MB / 0.8548 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003594/0.7353, allocations: 212.7 kB / 0.855 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.7385, allocations: 1.541 MB / 0.8565 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.7393, allocations: 0.765 MB / 0.8572 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.7407, allocations: 1.177 MB / 0.8584 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.7457, allocations: 3.551 MB / 0.8618 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7457, allocations: 0 / 0.8618 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.133e-06/0.7457, allocations: 0 / 0.8618 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.733e-05/0.7458, allocations: 0 / 0.8618 GB, free: 4.832 MB / 0.6231 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.004533/0.7503, allocations: 2.857 MB / 0.8646 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.7504, allocations: 13.11 kB / 0.8646 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/0.7507, allocations: 236.5 kB / 0.8649 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.7542, allocations: 0.5799 MB / 0.8654 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.7583, allocations: 3.402 MB / 0.8688 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.7585, allocations: 123.3 kB / 0.8689 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.7587, allocations: 163.9 kB / 0.869 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/0.7619, allocations: 1.884 MB / 0.8709 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.7619, allocations: 0 / 0.8709 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.7621, allocations: 68 kB / 0.8709 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.7621, allocations: 43.94 kB / 0.871 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.7655, allocations: 2.038 MB / 0.873 GB, free: 9.242 MB / 0.6387 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.008885/0.7744, allocations: 6.04 MB / 0.8789 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.7777, allocations: 2.004 MB / 0.8808 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.7789, allocations: 0.7296 MB / 0.8815 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.7795, allocations: 437.6 kB / 0.8819 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.7812, allocations: 0.9232 MB / 0.8828 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 3.226e-06/0.7812, allocations: 0 / 0.8828 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006721/0.7879, allocations: 2.849 MB / 0.8856 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.7881, allocations: 201.2 kB / 0.8858 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0048/0.7929, allocations: 4.007 MB / 0.8897 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.7932, allocations: 57.69 kB / 0.8898 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.794, allocations: 0.8758 MB / 0.8906 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/0.7945, allocations: 487.7 kB / 0.8911 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.7949, allocations: 218.9 kB / 0.8913 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7951, allocations: 357.9 kB / 0.8917 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.7962, allocations: 0.5374 MB / 0.8922 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.7975, allocations: 0.754 MB / 0.8929 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.7999, allocations: 1.259 MB / 0.8942 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7999, allocations: 0 / 0.8942 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00404/0.804, allocations: 1.699 MB / 0.8958 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.804, allocations: 11.94 kB / 0.8958 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.804, allocations: 0 / 0.8958 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.8051, allocations: 220.2 kB / 0.896 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.8066, allocations: 303.6 kB / 0.8963 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.8135, allocations: 7.317 MB / 0.9035 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.8151, allocations: 151.1 kB / 0.9036 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.8153, allocations: 43.97 kB / 0.9037 GB, free: 8.375 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.001148/0.8165, allocations: 481.6 kB / 0.9041 GB, free: 7.895 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/0.8171, allocations: 190.8 kB / 0.9043 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.8219, allocations: 2.039 MB / 0.9063 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.8219, allocations: 12 kB / 0.9063 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.8219, allocations: 4 kB / 0.9063 GB, free: 5.621 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.8219, allocations: 7.969 kB / 0.9063 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008115/0.83, allocations: 3.924 MB / 0.9101 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.8301, allocations: 3.938 kB / 0.9101 GB, free: 1.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8315, allocations: 311.5 kB / 0.9104 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009314/0.8325, allocations: 208.1 kB / 0.9106 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.8326, allocations: 35.97 kB / 0.9107 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/0.8392, allocations: 7.352 MB / 0.9179 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8393, allocations: 8.062 kB / 0.9179 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.8438, allocations: 1.904 MB / 0.9197 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.8448, allocations: 0.507 MB / 0.9202 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.8453, allocations: 24 kB / 0.9202 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.8467, allocations: 98.31 kB / 0.9203 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.8469, allocations: 101.3 kB / 0.9204 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/0.8471, allocations: 63.95 kB / 0.9205 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00373/0.8508, allocations: 3.087 MB / 0.9235 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8509, allocations: 0 / 0.9235 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001942/0.8528, allocations: 0.643 MB / 0.9241 GB, free: 2.504 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.006804/0.8596, allocations: 3.116 MB / 0.9272 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00354/0.8632, allocations: 1.973 MB / 0.9291 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.8632, allocations: 0.7969 kB / 0.9291 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.8653, allocations: 1.372 MB / 0.9304 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.8682, allocations: 0.523 MB / 0.931 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/0.9028, allocations: 20.45 MB / 0.9509 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.9046, allocations: 1.513 MB / 0.9524 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002439/0.9071, allocations: 0.5049 MB / 0.9529 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.9085, allocations: 0.8507 MB / 0.9537 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of SimCode: time 3.396e-06/0.9085, allocations: 0 / 0.9537 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.016, allocations: 46.66 MB / 0.9993 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.42, allocations: 11.58 kB / 0.9993 GB, free: 5.656 MB / 0.7637 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)