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.001263/0.001263, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001469/0.001469, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.103/2.103, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.425/2.425, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006487, allocations: 16 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4064, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 1.075/1.482, allocations: 140.1 MB / 0.7241 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03612/1.518, allocations: 14.07 MB / 0.7378 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/1.52, allocations: 26.97 kB / 0.7378 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/1.523, allocations: 336.1 kB / 0.7381 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007844/1.531, allocations: 1.293 MB / 0.7394 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007464/1.538, allocations: 1.082 MB / 0.7405 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005988/1.544, allocations: 1.513 MB / 0.7419 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/1.549, allocations: 1.474 MB / 0.7434 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/1.554, allocations: 0.8935 MB / 0.7443 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/1.556, allocations: 0.6586 MB / 0.7449 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006207/1.557, allocations: 44 kB / 0.7449 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/1.562, allocations: 0.9796 MB / 0.7459 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.563, allocations: 0.5466 MB / 0.7464 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/1.565, allocations: 400.4 kB / 0.7468 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006522/1.571, allocations: 2.532 MB / 0.7493 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.571, allocations: 8 kB / 0.7493 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.665e-06/1.571, allocations: 0 / 0.7493 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001218/1.571, allocations: 0 / 0.7493 GB, free: 6.602 MB / 0.5606 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.009052/1.58, allocations: 2.325 MB / 0.7516 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001015/1.581, allocations: 15.97 kB / 0.7516 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/1.582, allocations: 240.5 kB / 0.7518 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007099/1.589, allocations: 0.5669 MB / 0.7524 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008369/1.597, allocations: 3.285 MB / 0.7556 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/1.597, allocations: 123.4 kB / 0.7557 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/1.598, allocations: 168 kB / 0.7558 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005855/1.604, allocations: 1.848 MB / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/1.604, allocations: 0 / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/1.604, allocations: 83.95 kB / 0.7577 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/1.604, allocations: 36 kB / 0.7578 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006141/1.611, allocations: 2.034 MB / 0.7598 GB, free: 11.7 MB / 0.5762 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.01719/1.628, allocations: 6.084 MB / 0.7657 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005045/1.633, allocations: 1.744 MB / 0.7674 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/1.633, allocations: 77.28 kB / 0.7675 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002447/1.636, allocations: 0.9231 MB / 0.7684 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 6.362e-06/1.636, allocations: 0 / 0.7684 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.01036/1.646, allocations: 2.835 MB / 0.7711 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.646, allocations: 201.2 kB / 0.7713 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007702/1.654, allocations: 3.995 MB / 0.7752 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004861/1.655, allocations: 53.7 kB / 0.7753 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.656, allocations: 0.8745 MB / 0.7761 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007801/1.657, allocations: 453.2 kB / 0.7766 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/1.657, allocations: 24 kB / 0.7766 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.657, allocations: 349.9 kB / 0.7769 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.659, allocations: 0.5296 MB / 0.7774 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/1.66, allocations: 0.7461 MB / 0.7782 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.662, allocations: 0.6232 MB / 0.7788 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.662, allocations: 0 / 0.7788 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005824/1.668, allocations: 1.682 MB / 0.7804 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.668, allocations: 4.094 kB / 0.7804 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.668, allocations: 8 kB / 0.7804 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/1.67, allocations: 208.1 kB / 0.7806 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.672, allocations: 315.5 kB / 0.7809 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008218/1.68, allocations: 6.841 MB / 0.7876 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.683, allocations: 170.9 kB / 0.7878 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/1.683, allocations: 43.97 kB / 0.7878 GB, free: 13.73 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001531/1.685, allocations: 473.4 kB / 0.7883 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007768/1.686, allocations: 182.1 kB / 0.7885 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00671/1.692, allocations: 2.046 MB / 0.7904 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/1.692, allocations: 16 kB / 0.7905 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.692, allocations: 0 / 0.7905 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/1.692, allocations: 11.97 kB / 0.7905 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.703, allocations: 3.762 MB / 0.7941 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.703, allocations: 4 kB / 0.7942 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/1.705, allocations: 311.6 kB / 0.7944 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/1.707, allocations: 224.3 kB / 0.7947 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.707, allocations: 39.97 kB / 0.7947 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008639/1.716, allocations: 6.883 MB / 0.8014 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.716, allocations: 3.953 kB / 0.8014 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006915/1.723, allocations: 2.075 MB / 0.8035 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.725, allocations: 0.5099 MB / 0.804 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006367/1.725, allocations: 32 kB / 0.804 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.728, allocations: 126.3 kB / 0.8041 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003829/1.728, allocations: 109.1 kB / 0.8042 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.729, allocations: 71.95 kB / 0.8043 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006099/1.735, allocations: 3.072 MB / 0.8073 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.62e-07/1.735, allocations: 0 / 0.8073 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004397/1.739, allocations: 0.643 MB / 0.8079 GB, free: 8.227 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01055/1.75, allocations: 3.787 MB / 0.8116 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006213/1.756, allocations: 1.965 MB / 0.8135 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.756, allocations: 0.7969 kB / 0.8135 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/1.76, allocations: 1.376 MB / 0.8149 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/1.764, allocations: 476.9 kB / 0.8153 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05454/1.819, allocations: 19.02 MB / 0.8339 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.821, allocations: 1.544 MB / 0.8354 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004477/1.826, allocations: 0.5127 MB / 0.8359 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00257/1.828, allocations: 0.8584 MB / 0.8367 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of SimCode: time 1.864e-06/1.828, allocations: 0 / 0.8367 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7681/2.597, allocations: 46.67 MB / 0.8823 GB, free: 210 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/2.597, allocations: 242 kB / 0.8825 GB, free: 209.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.436/9.033, allocations: 0 / 0.8825 GB, free: 209.7 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) Environment - environmentSimulation: