Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.007234/0.007234, allocations: 98.62 kB / 15.73 MB, free: 6.066 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.001646/0.001646, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.295/1.295, 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/package.mo): time 0.7847/0.7847, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.34 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5378/0.6905, allocations: 153.8 MB / 0.8094 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.7028, allocations: 10.39 MB / 0.8195 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.704, allocations: 20.06 kB / 0.8195 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.705, allocations: 262.2 kB / 0.8198 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.7081, allocations: 0.9119 MB / 0.8207 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.7108, allocations: 1.043 MB / 0.8217 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.7125, allocations: 1.511 MB / 0.8232 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.7138, allocations: 1.141 MB / 0.8243 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.7156, allocations: 0.6752 MB / 0.8249 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.7162, allocations: 0.5543 MB / 0.8255 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.7164, allocations: 122.9 kB / 0.8256 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.7184, allocations: 1.014 MB / 0.8266 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.7187, allocations: 355.5 kB / 0.8269 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.7193, allocations: 0.6113 MB / 0.8275 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.7225, allocations: 2.089 MB / 0.8296 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7226, allocations: 3.938 kB / 0.8296 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7226, allocations: 4 kB / 0.8296 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.7226, allocations: 0 / 0.8296 GB, free: 1.902 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002709/0.7253, allocations: 1.671 MB / 0.8312 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7254, allocations: 9.938 kB / 0.8312 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.7255, allocations: 146.1 kB / 0.8313 GB, free: 488 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.7271, allocations: 269.5 kB / 0.8316 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.7286, allocations: 1.042 MB / 0.8326 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.7286, allocations: 75.56 kB / 0.8327 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.7287, allocations: 90.06 kB / 0.8328 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.7305, allocations: 1.042 MB / 0.8338 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7305, allocations: 6.031 kB / 0.8338 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.7306, allocations: 39.97 kB / 0.8338 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.7307, allocations: 22.44 kB / 0.8339 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.7327, allocations: 1.272 MB / 0.8351 GB, free: 14.24 MB / 0.6075 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.004849/0.7375, allocations: 3.109 MB / 0.8381 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.7393, allocations: 1.017 MB / 0.8391 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.74, allocations: 385.1 kB / 0.8395 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.7402, allocations: 141.3 kB / 0.8396 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009445/0.7412, allocations: 0.5429 MB / 0.8402 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.154e-06/0.7412, allocations: 0 / 0.8402 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003778/0.745, allocations: 1.508 MB / 0.8416 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.7451, allocations: 198.6 kB / 0.8418 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.7463, allocations: 0.9803 MB / 0.8428 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.7464, allocations: 42.73 kB / 0.8428 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.7468, allocations: 462.5 kB / 0.8433 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.747, allocations: 300.8 kB / 0.8435 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.7473, allocations: 156.1 kB / 0.8437 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7474, allocations: 336.7 kB / 0.844 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.748, allocations: 299.6 kB / 0.8443 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.7488, allocations: 433.5 kB / 0.8447 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.75, allocations: 0.714 MB / 0.8454 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7501, allocations: 0 / 0.8454 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002201/0.7523, allocations: 0.9592 MB / 0.8464 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.7523, allocations: 7.984 kB / 0.8464 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7523, allocations: 4 kB / 0.8464 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007242/0.753, allocations: 113.6 kB / 0.8465 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.7539, allocations: 179.8 kB / 0.8466 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.7569, allocations: 3.074 MB / 0.8496 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.7577, allocations: 105.9 kB / 0.8497 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.7578, allocations: 31.98 kB / 0.8498 GB, free: 2.309 MB / 0.6075 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005038/0.7583, allocations: 289.6 kB / 0.8501 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.7585, allocations: 103.3 kB / 0.8502 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.7611, allocations: 1.212 MB / 0.8513 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.7611, allocations: 11.94 kB / 0.8513 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7612, allocations: 0 / 0.8513 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7612, allocations: 3.984 kB / 0.8514 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.765, allocations: 2.271 MB / 0.8536 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7651, allocations: 0 / 0.8536 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.7659, allocations: 183.8 kB / 0.8537 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005736/0.7665, allocations: 105.6 kB / 0.8538 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.7666, allocations: 23.98 kB / 0.8539 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/0.7697, allocations: 3.102 MB / 0.8569 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7697, allocations: 0 / 0.8569 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.7722, allocations: 1.151 MB / 0.858 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006314/0.7728, allocations: 304.1 kB / 0.8583 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.7731, allocations: 20 kB / 0.8583 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.7739, allocations: 63.92 kB / 0.8584 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.774, allocations: 84.77 kB / 0.8585 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-05/0.7741, allocations: 35.98 kB / 0.8585 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001047/0.7752, allocations: 0.7216 MB / 0.8592 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7752, allocations: 0 / 0.8592 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001372/0.7766, allocations: 426.9 kB / 0.8596 GB, free: 7.82 MB / 0.6231 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004485/0.7811, allocations: 2.289 MB / 0.8619 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.7832, allocations: 1.041 MB / 0.8629 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7833, allocations: 0 / 0.8629 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.7844, allocations: 0.6942 MB / 0.8635 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.786, allocations: 349.4 kB / 0.8639 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.8006, allocations: 8.005 MB / 0.8717 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.8014, allocations: 1.083 MB / 0.8728 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001041/0.8024, allocations: 295.3 kB / 0.873 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.8031, allocations: 439.2 kB / 0.8735 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.8031, allocations: 0 / 0.8735 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/0.865, allocations: 26.37 MB / 0.8992 GB, free: 15.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.89, allocations: 4.062 kB / 0.8992 GB, free: 15.52 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)