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.00161/0.00161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002539/0.002539, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.756/1.756, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.305/1.305, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 62.61 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.6402/0.893, allocations: 164.6 MB / 0.7448 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.9198, allocations: 16.92 MB / 0.7613 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.9216, allocations: 27.81 kB / 0.7613 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.9237, allocations: 457.3 kB / 0.7617 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.9293, allocations: 1.507 MB / 0.7632 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.9335, allocations: 1.254 MB / 0.7644 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003929/0.9374, allocations: 2.517 MB / 0.7669 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.9411, allocations: 1.959 MB / 0.7688 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006472/0.9476, allocations: 1.334 MB / 0.7701 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.9495, allocations: 1.07 MB / 0.7712 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007554/0.9503, allocations: 208 kB / 0.7714 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.9541, allocations: 1.548 MB / 0.7729 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.9551, allocations: 0.7673 MB / 0.7736 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.9571, allocations: 1.177 MB / 0.7748 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00566/0.9628, allocations: 3.532 MB / 0.7782 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9628, allocations: 0 / 0.7782 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9628, allocations: 0 / 0.7782 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001042/0.9629, allocations: 0 / 0.7782 GB, free: 6.375 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.006005/0.9689, allocations: 2.773 MB / 0.7809 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.969, allocations: 12.03 kB / 0.7809 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004783/0.9695, allocations: 236.5 kB / 0.7812 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.9738, allocations: 0.5629 MB / 0.7817 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005068/0.9788, allocations: 3.347 MB / 0.785 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.9791, allocations: 127.3 kB / 0.7851 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.9796, allocations: 167.9 kB / 0.7853 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/0.9844, allocations: 1.873 MB / 0.7871 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.9845, allocations: 3.938 kB / 0.7871 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/0.9849, allocations: 68 kB / 0.7872 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/0.985, allocations: 40 kB / 0.7872 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/0.9899, allocations: 2.054 MB / 0.7892 GB, free: 10.93 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.01668/1.007, allocations: 6.084 MB / 0.7951 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006431/1.013, allocations: 1.996 MB / 0.7971 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/1.016, allocations: 0.7335 MB / 0.7978 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.017, allocations: 425.7 kB / 0.7982 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004015/1.021, allocations: 0.9348 MB / 0.7991 GB, free: 364 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 1.255e-05/1.021, allocations: 0 / 0.7991 GB, free: 364 kB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.01299/1.034, allocations: 2.836 MB / 0.8019 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/1.035, allocations: 197.2 kB / 0.8021 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009054/1.044, allocations: 4.007 MB / 0.806 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004441/1.044, allocations: 57.7 kB / 0.8061 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.046, allocations: 0.8667 MB / 0.8069 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/1.047, allocations: 465.2 kB / 0.8073 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009362/1.048, allocations: 226.8 kB / 0.8076 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.048, allocations: 357.9 kB / 0.8079 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/1.05, allocations: 0.5374 MB / 0.8084 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.052, allocations: 0.7618 MB / 0.8092 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004321/1.057, allocations: 1.251 MB / 0.8104 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.057, allocations: 4 kB / 0.8104 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.007013/1.064, allocations: 1.686 MB / 0.812 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/1.064, allocations: 4 kB / 0.812 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/1.064, allocations: 10.12 kB / 0.8121 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/1.066, allocations: 216.2 kB / 0.8123 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/1.068, allocations: 307.6 kB / 0.8126 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0099/1.078, allocations: 7.311 MB / 0.8197 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/1.081, allocations: 158.9 kB / 0.8198 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/1.081, allocations: 47.91 kB / 0.8199 GB, free: 10.07 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.001974/1.083, allocations: 477.6 kB / 0.8203 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.085, allocations: 181.8 kB / 0.8205 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008488/1.093, allocations: 2.043 MB / 0.8225 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.093, allocations: 12 kB / 0.8225 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.093, allocations: 7.938 kB / 0.8225 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/1.093, allocations: 7.969 kB / 0.8225 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.103, allocations: 3.917 MB / 0.8264 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.103, allocations: 0 / 0.8264 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.105, allocations: 311.6 kB / 0.8267 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/1.106, allocations: 212 kB / 0.8269 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/1.106, allocations: 39.97 kB / 0.8269 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00774/1.114, allocations: 7.337 MB / 0.8341 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.114, allocations: 0 / 0.8341 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/1.119, allocations: 1.905 MB / 0.8359 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.121, allocations: 0.4904 MB / 0.8364 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/1.121, allocations: 32 kB / 0.8364 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.123, allocations: 128.3 kB / 0.8366 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.123, allocations: 105.1 kB / 0.8367 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.124, allocations: 67.95 kB / 0.8367 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004241/1.128, allocations: 3.084 MB / 0.8397 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/1.128, allocations: 0 / 0.8397 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002806/1.131, allocations: 0.643 MB / 0.8404 GB, free: 4.219 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.007358/1.138, allocations: 3.095 MB / 0.8434 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005747/1.144, allocations: 2.372 MB / 0.8457 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.144, allocations: 4.797 kB / 0.8457 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/1.146, allocations: 1.375 MB / 0.8471 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.149, allocations: 0.5291 MB / 0.8476 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4016/1.551, allocations: 22.59 MB / 0.8696 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.552, allocations: 1.509 MB / 0.8711 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002456/1.555, allocations: 0.5126 MB / 0.8716 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.556, allocations: 0.852 MB / 0.8724 GB, free: 211.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.032e-06/1.556, allocations: 0 / 0.8724 GB, free: 211.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7028/2.259, allocations: 46.02 MB / 0.9174 GB, free: 201.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/2.259, allocations: 276.3 kB / 0.9176 GB, free: 200.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.893/8.153, allocations: 3.625 kB / 0.9176 GB, free: 200.9 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/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)