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.001021/0.001021, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001396/0.001396, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.128/1.128, allocations: 135.3 MB / 426.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8.625 kB / 0.5071 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 82.31 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5004/0.6645, allocations: 151.5 MB / 0.7354 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.6837, allocations: 15.85 MB / 0.7509 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.6851, allocations: 33.59 kB / 0.7509 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.6862, allocations: 367.7 kB / 0.7513 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.6901, allocations: 1.285 MB / 0.7525 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.6931, allocations: 1.084 MB / 0.7536 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.6962, allocations: 2.444 MB / 0.756 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.6982, allocations: 1.466 MB / 0.7574 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.7001, allocations: 0.9609 MB / 0.7583 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.7013, allocations: 0.7894 MB / 0.7591 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.7015, allocations: 48 kB / 0.7592 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.7043, allocations: 1.006 MB / 0.7601 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.7048, allocations: 0.5683 MB / 0.7607 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.7052, allocations: 396.5 kB / 0.7611 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.7083, allocations: 2.548 MB / 0.7636 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7083, allocations: 0 / 0.7636 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7083, allocations: 0 / 0.7636 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.065e-05/0.7084, allocations: 0 / 0.7636 GB, free: 8.57 MB / 0.5762 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.0036/0.712, allocations: 2.324 MB / 0.7658 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.712, allocations: 12.03 kB / 0.7658 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000273/0.7123, allocations: 241.4 kB / 0.7661 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.7157, allocations: 0.5707 MB / 0.7666 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.7194, allocations: 3.281 MB / 0.7698 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.7196, allocations: 123.3 kB / 0.77 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.7198, allocations: 164 kB / 0.7701 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.7229, allocations: 1.867 MB / 0.7719 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.7229, allocations: 4 kB / 0.7719 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.7231, allocations: 75.95 kB / 0.772 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.7231, allocations: 40 kB / 0.772 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003295/0.7264, allocations: 2.036 MB / 0.774 GB, free: 13.66 MB / 0.5919 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.00923/0.7357, allocations: 6.108 MB / 0.78 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.7385, allocations: 1.992 MB / 0.7819 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.7396, allocations: 0.7374 MB / 0.7827 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.7402, allocations: 433.7 kB / 0.7831 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.7416, allocations: 0.927 MB / 0.784 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.066e-06/0.7416, allocations: 0 / 0.784 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006211/0.7479, allocations: 2.856 MB / 0.7868 GB, free: 84 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.748, allocations: 197.2 kB / 0.787 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004385/0.7524, allocations: 3.995 MB / 0.7909 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.7527, allocations: 57.7 kB / 0.7909 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.7534, allocations: 0.8667 MB / 0.7918 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.7539, allocations: 461.3 kB / 0.7922 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.7539, allocations: 24 kB / 0.7922 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7541, allocations: 345.9 kB / 0.7926 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009793/0.7551, allocations: 0.5413 MB / 0.7931 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7562, allocations: 0.7539 MB / 0.7938 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7573, allocations: 0.6271 MB / 0.7944 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7573, allocations: 0 / 0.7944 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003475/0.7608, allocations: 1.693 MB / 0.7961 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7608, allocations: 4 kB / 0.7961 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7608, allocations: 4.094 kB / 0.7961 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/0.7618, allocations: 216.1 kB / 0.7963 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.7633, allocations: 307.5 kB / 0.7966 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.7689, allocations: 6.8 MB / 0.8032 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.7705, allocations: 171.7 kB / 0.8034 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.7707, allocations: 43.97 kB / 0.8034 GB, free: 14.17 MB / 0.6231 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.001062/0.7718, allocations: 465.5 kB / 0.8039 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/0.7723, allocations: 189.7 kB / 0.8041 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.7765, allocations: 2.051 MB / 0.8061 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.7766, allocations: 16 kB / 0.8061 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.7766, allocations: 0 / 0.8061 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.7766, allocations: 11.91 kB / 0.8061 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/0.7831, allocations: 3.915 MB / 0.8099 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.7832, allocations: 0 / 0.8099 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.7845, allocations: 315.5 kB / 0.8102 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/0.7854, allocations: 216.1 kB / 0.8104 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.329e-05/0.7855, allocations: 43.97 kB / 0.8105 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/0.791, allocations: 6.832 MB / 0.8171 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7911, allocations: 0 / 0.8171 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.7956, allocations: 1.897 MB / 0.819 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.7971, allocations: 0.502 MB / 0.8195 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004864/0.7976, allocations: 31.95 kB / 0.8195 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.7989, allocations: 137.6 kB / 0.8196 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.7992, allocations: 101.1 kB / 0.8197 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.7993, allocations: 67.95 kB / 0.8198 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003255/0.8026, allocations: 3.072 MB / 0.8228 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8026, allocations: 3.938 kB / 0.8228 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002015/0.8046, allocations: 0.643 MB / 0.8234 GB, free: 8.84 MB / 0.6387 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 (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.005301/0.8099, allocations: 3.083 MB / 0.8264 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003155/0.8131, allocations: 1.977 MB / 0.8284 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.8131, allocations: 4.797 kB / 0.8284 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.815, allocations: 1.375 MB / 0.8297 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.8175, allocations: 487.1 kB / 0.8302 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/0.8493, allocations: 18.69 MB / 0.8484 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.8512, allocations: 1.513 MB / 0.8499 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002419/0.8536, allocations: 0.5049 MB / 0.8504 GB, free: 12.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.8551, allocations: 0.8623 MB / 0.8513 GB, free: 11.67 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/0.8552, allocations: 4 kB / 0.8513 GB, free: 11.67 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3779/1.233, allocations: 46.65 MB / 0.8968 GB, free: 208.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.233, allocations: 253.1 kB / 0.8971 GB, free: 207.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.399, allocations: 5.188 kB / 0.8971 GB, free: 207.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/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: