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.0007691/0.0007691, allocations: 87.03 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.0009615/0.0009614, 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.3 MB / 423.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 11.98 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4582, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1728/0.6311, allocations: 151.5 MB / 0.7311 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.6495, allocations: 15.85 MB / 0.7466 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.6508, allocations: 27.81 kB / 0.7466 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.652, allocations: 377.3 kB / 0.747 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.6569, allocations: 1.281 MB / 0.7482 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.6602, allocations: 1.082 MB / 0.7493 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.6632, allocations: 2.45 MB / 0.7517 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.6653, allocations: 1.46 MB / 0.7531 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.6671, allocations: 0.957 MB / 0.754 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.6683, allocations: 0.7953 MB / 0.7548 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.6685, allocations: 44 kB / 0.7549 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.6709, allocations: 1.01 MB / 0.7558 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005563/0.6715, allocations: 0.5683 MB / 0.7564 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.672, allocations: 396.5 kB / 0.7568 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.6751, allocations: 2.544 MB / 0.7593 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6751, allocations: 0 / 0.7593 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6751, allocations: 0 / 0.7593 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.6751, allocations: 0 / 0.7593 GB, free: 11.74 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.003648/0.6788, allocations: 2.331 MB / 0.7615 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6788, allocations: 11.97 kB / 0.7615 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/0.6791, allocations: 244.5 kB / 0.7618 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.6825, allocations: 0.5708 MB / 0.7623 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.6863, allocations: 3.281 MB / 0.7655 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.066e-05/0.6864, allocations: 123.3 kB / 0.7657 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.6866, allocations: 167.9 kB / 0.7658 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.6896, allocations: 1.865 MB / 0.7676 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.6896, allocations: 0 / 0.7676 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.6898, allocations: 75.95 kB / 0.7677 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.6898, allocations: 40 kB / 0.7678 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/0.6928, allocations: 2.038 MB / 0.7697 GB, free: 0.8164 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.008074/0.7009, allocations: 6.1 MB / 0.7757 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.7037, allocations: 1.996 MB / 0.7777 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.7047, allocations: 0.7341 MB / 0.7784 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.7053, allocations: 437.7 kB / 0.7788 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.7067, allocations: 0.931 MB / 0.7797 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.025e-06/0.7068, allocations: 0 / 0.7797 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006021/0.7128, allocations: 2.844 MB / 0.7825 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.7129, allocations: 201.2 kB / 0.7827 GB, free: 3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.717, allocations: 3.995 MB / 0.7866 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.7172, allocations: 57.64 kB / 0.7866 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006667/0.7179, allocations: 0.8745 MB / 0.7875 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.7182, allocations: 449.3 kB / 0.7879 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.7183, allocations: 24 kB / 0.7879 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7184, allocations: 349.9 kB / 0.7883 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009213/0.7194, allocations: 0.5374 MB / 0.7888 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.7204, allocations: 0.7617 MB / 0.7895 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.7215, allocations: 0.6232 MB / 0.7901 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7215, allocations: 4 kB / 0.7901 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003282/0.7248, allocations: 1.694 MB / 0.7918 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7248, allocations: 8.094 kB / 0.7918 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7248, allocations: 0 / 0.7918 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009609/0.7258, allocations: 212.1 kB / 0.792 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.7272, allocations: 311.6 kB / 0.7923 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.7329, allocations: 6.801 MB / 0.7989 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.7347, allocations: 164.7 kB / 0.7991 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7349, allocations: 47.97 kB / 0.7991 GB, free: 1.312 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.001024/0.7359, allocations: 471.5 kB / 0.7996 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.7362, allocations: 181.8 kB / 0.7998 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003981/0.7402, allocations: 2.059 MB / 0.8018 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.7403, allocations: 12 kB / 0.8018 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7403, allocations: 4 kB / 0.8018 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.7403, allocations: 7.969 kB / 0.8018 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/0.7463, allocations: 3.919 MB / 0.8056 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.7463, allocations: 3.984 kB / 0.8056 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.7477, allocations: 311.6 kB / 0.8059 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.7485, allocations: 224.1 kB / 0.8061 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.7486, allocations: 35.97 kB / 0.8062 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.7535, allocations: 6.818 MB / 0.8128 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7535, allocations: 3.984 kB / 0.8128 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.757, allocations: 1.897 MB / 0.8147 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.7579, allocations: 0.506 MB / 0.8152 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3352/1.093, allocations: 30.42 kB / 0.8152 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.095, allocations: 126 kB / 0.8153 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.095, allocations: 103.5 kB / 0.8154 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.095, allocations: 66.66 kB / 0.8155 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004357/1.1, allocations: 3.077 MB / 0.8185 GB, free: 214 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.92e-07/1.1, allocations: 0.5938 kB / 0.8185 GB, free: 214 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002718/1.103, allocations: 0.644 MB / 0.8191 GB, free: 213.9 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.006168/1.109, allocations: 3.082 MB / 0.8221 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003197/1.112, allocations: 1.967 MB / 0.8241 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.112, allocations: 6.938 kB / 0.8241 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.114, allocations: 1.374 MB / 0.8254 GB, free: 211 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.117, allocations: 0.4902 MB / 0.8259 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/1.147, allocations: 18.7 MB / 0.8441 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.149, allocations: 1.498 MB / 0.8456 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002185/1.151, allocations: 0.5215 MB / 0.8461 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.152, allocations: 0.8546 MB / 0.847 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/1.152, allocations: 0 / 0.847 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06853/1.22, allocations: 46.67 MB / 0.8925 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/1.221, allocations: 251 kB / 0.8928 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/4.286, allocations: 0 / 0.8928 GB, free: 154.5 MB / 0.6387 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/linux/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) Environment - environmentSimulation: