Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",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.000909/0.0009089, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008626/0.0008627, allocations: 172.7 kB / 15.95 MB, free: 208 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9419/0.9419, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 82.3 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4666/0.6216, allocations: 151.5 MB / 0.7354 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.6407, allocations: 15.87 MB / 0.7509 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.6421, allocations: 27.53 kB / 0.751 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.6433, allocations: 378.9 kB / 0.7513 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.6476, allocations: 1.296 MB / 0.7526 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.6508, allocations: 1.079 MB / 0.7536 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.6538, allocations: 2.463 MB / 0.756 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.6558, allocations: 1.47 MB / 0.7575 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.6576, allocations: 0.966 MB / 0.7584 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6586, allocations: 0.801 MB / 0.7592 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.6588, allocations: 48 kB / 0.7593 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.6611, allocations: 1.014 MB / 0.7602 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.6617, allocations: 0.5722 MB / 0.7608 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.6621, allocations: 396.5 kB / 0.7612 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.6649, allocations: 2.552 MB / 0.7637 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.665, allocations: 0 / 0.7637 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.665, allocations: 0 / 0.7637 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.243e-05/0.665, allocations: 0 / 0.7637 GB, free: 8.305 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.0038/0.6688, allocations: 2.346 MB / 0.766 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6689, allocations: 12.03 kB / 0.766 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000284/0.6691, allocations: 248.5 kB / 0.7662 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.6725, allocations: 0.5667 MB / 0.7668 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.6764, allocations: 3.281 MB / 0.77 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.6765, allocations: 127.3 kB / 0.7701 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.6767, allocations: 164 kB / 0.7702 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.68, allocations: 1.893 MB / 0.7721 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.68, allocations: 0.875 kB / 0.7721 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.6802, allocations: 71.94 kB / 0.7722 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.976e-05/0.6803, allocations: 47.95 kB / 0.7722 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.6834, allocations: 2.069 MB / 0.7742 GB, free: 13.31 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.008291/0.6917, allocations: 6.262 MB / 0.7803 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.6947, allocations: 2.046 MB / 0.7823 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.6958, allocations: 0.7452 MB / 0.7831 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.6964, allocations: 425.7 kB / 0.7835 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.6979, allocations: 0.9466 MB / 0.7844 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.494e-06/0.698, allocations: 0 / 0.7844 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006083/0.704, allocations: 2.899 MB / 0.7872 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7042, allocations: 193.2 kB / 0.7874 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/0.7086, allocations: 4.02 MB / 0.7913 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.7088, allocations: 57.7 kB / 0.7914 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007963/0.7096, allocations: 0.8669 MB / 0.7922 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.71, allocations: 465.2 kB / 0.7927 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.7101, allocations: 24 kB / 0.7927 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7102, allocations: 353.9 kB / 0.793 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.7112, allocations: 0.553 MB / 0.7936 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.7124, allocations: 0.7813 MB / 0.7944 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.7135, allocations: 0.6349 MB / 0.795 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7135, allocations: 0 / 0.795 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003369/0.7169, allocations: 1.725 MB / 0.7967 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.7169, allocations: 8 kB / 0.7967 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7169, allocations: 0 / 0.7967 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000945/0.7179, allocations: 216 kB / 0.7969 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.7193, allocations: 315.6 kB / 0.7972 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.7248, allocations: 6.81 MB / 0.8038 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.7262, allocations: 177.4 kB / 0.804 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/0.7263, allocations: 47.97 kB / 0.804 GB, free: 13.41 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 (133): * Single equations (assignments): 128 * 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.001134/0.7275, allocations: 481.3 kB / 0.8045 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.7278, allocations: 181.8 kB / 0.8047 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.7319, allocations: 2.075 MB / 0.8067 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.7319, allocations: 23.92 kB / 0.8067 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.732, allocations: 8 kB / 0.8067 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.732, allocations: 4.078 kB / 0.8067 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/0.7386, allocations: 3.958 MB / 0.8106 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.7387, allocations: 3.953 kB / 0.8106 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.7401, allocations: 327.5 kB / 0.8109 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008593/0.741, allocations: 208.1 kB / 0.8111 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7411, allocations: 35.97 kB / 0.8111 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.7471, allocations: 6.836 MB / 0.8178 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7471, allocations: 0 / 0.8178 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.7509, allocations: 1.936 MB / 0.8197 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.7518, allocations: 0.5098 MB / 0.8202 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.752, allocations: 28 kB / 0.8202 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7531, allocations: 137.3 kB / 0.8204 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.7533, allocations: 101.2 kB / 0.8205 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.7535, allocations: 67.95 kB / 0.8205 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003174/0.7566, allocations: 3.092 MB / 0.8235 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7567, allocations: 0 / 0.8235 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001829/0.7585, allocations: 0.6391 MB / 0.8242 GB, free: 7.938 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.005348/0.7639, allocations: 3.134 MB / 0.8272 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003103/0.767, allocations: 2.001 MB / 0.8292 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.767, allocations: 0.7969 kB / 0.8292 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.7689, allocations: 1.395 MB / 0.8305 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.771, allocations: 496.9 kB / 0.831 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/0.8004, allocations: 18.98 MB / 0.8496 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.8018, allocations: 1.506 MB / 0.851 GB, free: 11.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002167/0.804, allocations: 0.5166 MB / 0.8515 GB, free: 11.24 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.8052, allocations: 0.8624 MB / 0.8524 GB, free: 10.38 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/0.8052, allocations: 0 / 0.8524 GB, free: 10.38 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/1.155, allocations: 47 MB / 0.8983 GB, free: 207.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/1.155, allocations: 273.7 kB / 0.8985 GB, free: 207.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.492, allocations: 0 / 0.8985 GB, free: 207.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) Environment - environmentSimulation: