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.001438/0.001438, allocations: 108 kB / 15.61 MB, free: 152 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.001683/0.001684, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7692/0.7692, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 64.41 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 80.2 MB / 0.5802 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.3761/0.5168, allocations: 166.9 MB / 0.7432 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.5343, allocations: 17.11 MB / 0.7599 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.5353, allocations: 35.75 kB / 0.7599 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.5365, allocations: 0.5196 MB / 0.7604 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.54, allocations: 1.645 MB / 0.7621 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.5428, allocations: 1.368 MB / 0.7634 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002062/0.5449, allocations: 2.513 MB / 0.7658 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.5468, allocations: 1.963 MB / 0.7678 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.5496, allocations: 1.328 MB / 0.7691 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009463/0.5506, allocations: 1.027 MB / 0.7701 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.5509, allocations: 208 kB / 0.7703 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.5532, allocations: 1.513 MB / 0.7717 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.5538, allocations: 0.7634 MB / 0.7725 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000937/0.5548, allocations: 1.177 MB / 0.7736 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.558, allocations: 3.458 MB / 0.777 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.558, allocations: 4 kB / 0.777 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.52e-07/0.558, allocations: 0 / 0.777 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.558, allocations: 4 kB / 0.777 GB, free: 9.234 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.00371/0.5618, allocations: 2.776 MB / 0.7797 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5618, allocations: 12.03 kB / 0.7797 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.562, allocations: 240.5 kB / 0.78 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/0.5655, allocations: 0.5551 MB / 0.7805 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.5687, allocations: 3.35 MB / 0.7838 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.5688, allocations: 127.3 kB / 0.7839 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.569, allocations: 163.9 kB / 0.7841 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.5717, allocations: 1.872 MB / 0.7859 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5717, allocations: 11.92 kB / 0.7859 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.5719, allocations: 72 kB / 0.786 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.5719, allocations: 40 kB / 0.786 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.5749, allocations: 2.038 MB / 0.788 GB, free: 13.8 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.007294/0.5822, allocations: 6.092 MB / 0.7939 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.5851, allocations: 1.996 MB / 0.7959 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.5862, allocations: 0.7335 MB / 0.7966 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/0.5868, allocations: 429.7 kB / 0.797 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.5882, allocations: 0.9332 MB / 0.7979 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.036e-06/0.5882, allocations: 0 / 0.7979 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006071/0.5943, allocations: 2.833 MB / 0.8007 GB, free: 264 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.5944, allocations: 193.2 kB / 0.8009 GB, free: 24 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.598, allocations: 4.015 MB / 0.8048 GB, free: 12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.5982, allocations: 61.7 kB / 0.8049 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.5988, allocations: 0.8706 MB / 0.8057 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.5991, allocations: 457.3 kB / 0.8062 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.5994, allocations: 230.7 kB / 0.8064 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5995, allocations: 349.9 kB / 0.8067 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.6005, allocations: 0.5413 MB / 0.8072 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.6016, allocations: 0.7571 MB / 0.808 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.6036, allocations: 1.251 MB / 0.8092 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6036, allocations: 0 / 0.8092 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003283/0.6069, allocations: 1.69 MB / 0.8108 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.607, allocations: 4 kB / 0.8108 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.607, allocations: 4.641 kB / 0.8109 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.608, allocations: 216.2 kB / 0.8111 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.6094, allocations: 307.6 kB / 0.8114 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/0.6145, allocations: 7.31 MB / 0.8185 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6156, allocations: 151.1 kB / 0.8186 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.6157, allocations: 59.83 kB / 0.8187 GB, free: 12.93 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.0006395/0.6163, allocations: 473.6 kB / 0.8191 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.6166, allocations: 181.8 kB / 0.8193 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.6206, allocations: 2.043 MB / 0.8213 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6206, allocations: 16 kB / 0.8213 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6206, allocations: 0 / 0.8213 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6206, allocations: 3.984 kB / 0.8213 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.6262, allocations: 3.929 MB / 0.8252 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6262, allocations: 4 kB / 0.8252 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.6276, allocations: 307.6 kB / 0.8255 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008444/0.6284, allocations: 208.1 kB / 0.8257 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.6285, allocations: 39.97 kB / 0.8257 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.6335, allocations: 7.348 MB / 0.8329 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6335, allocations: 0 / 0.8329 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.6371, allocations: 1.913 MB / 0.8347 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.6378, allocations: 498.2 kB / 0.8352 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.638, allocations: 31.98 kB / 0.8353 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6391, allocations: 97.97 kB / 0.8353 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.6393, allocations: 97.17 kB / 0.8354 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.6394, allocations: 75.94 kB / 0.8355 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002729/0.6421, allocations: 3.087 MB / 0.8385 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6421, allocations: 0 / 0.8385 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001378/0.6435, allocations: 0.6352 MB / 0.8391 GB, free: 7.098 MB / 0.6544 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.005008/0.6485, allocations: 3.09 MB / 0.8422 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.653, allocations: 2.383 MB / 0.8445 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.653, allocations: 4.797 kB / 0.8445 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.6547, allocations: 1.372 MB / 0.8458 GB, free: 308 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.6568, allocations: 0.5285 MB / 0.8463 GB, free: 15.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2193/0.8761, allocations: 21.84 MB / 0.8677 GB, free: 217.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.8768, allocations: 1.507 MB / 0.8691 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001657/0.8785, allocations: 0.5051 MB / 0.8696 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008297/0.8794, allocations: 0.8492 MB / 0.8705 GB, free: 216.6 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.8794, allocations: 0 / 0.8705 GB, free: 216.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/2.015, allocations: 46.22 MB / 0.9156 GB, free: 206.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.94, allocations: 1.656 kB / 0.9156 GB, free: 206.1 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)