Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_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.001018/0.001018, allocations: 86.25 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.001427/0.001427, 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.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 13.88 kB / 0.5035 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4252, allocations: 81.57 MB / 0.5831 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1886/0.6138, allocations: 151.6 MB / 0.7311 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.6348, allocations: 15.87 MB / 0.7466 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.6365, allocations: 27.81 kB / 0.7467 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.638, allocations: 377.3 kB / 0.747 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.6422, allocations: 1.286 MB / 0.7483 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.6456, allocations: 1.093 MB / 0.7494 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.6489, allocations: 2.463 MB / 0.7518 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.651, allocations: 1.457 MB / 0.7532 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.6528, allocations: 0.9725 MB / 0.7541 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.6539, allocations: 0.8009 MB / 0.7549 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.654, allocations: 48 kB / 0.755 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.6565, allocations: 1.014 MB / 0.756 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005849/0.6571, allocations: 0.5683 MB / 0.7565 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.6576, allocations: 400.5 kB / 0.7569 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.6606, allocations: 2.556 MB / 0.7594 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6606, allocations: 0 / 0.7594 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6606, allocations: 0 / 0.7594 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.413e-05/0.6607, allocations: 3.938 kB / 0.7594 GB, free: 11.66 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004028/0.6647, allocations: 2.341 MB / 0.7617 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6648, allocations: 16.03 kB / 0.7617 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003136/0.6651, allocations: 236.6 kB / 0.7619 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/0.6685, allocations: 0.5707 MB / 0.7625 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/0.6723, allocations: 3.285 MB / 0.7657 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.6724, allocations: 123.3 kB / 0.7658 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.6726, allocations: 171.9 kB / 0.766 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.6759, allocations: 1.88 MB / 0.7678 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.676, allocations: 7.891 kB / 0.7678 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.6761, allocations: 76 kB / 0.7679 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.6761, allocations: 44 kB / 0.7679 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.6795, allocations: 2.065 MB / 0.7699 GB, free: 0.6719 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.008869/0.6884, allocations: 6.262 MB / 0.7761 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.6914, allocations: 2.036 MB / 0.778 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.6926, allocations: 0.7459 MB / 0.7788 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/0.6932, allocations: 433.7 kB / 0.7792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.6948, allocations: 0.9505 MB / 0.7801 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.736e-06/0.6949, allocations: 0 / 0.7801 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006178/0.701, allocations: 2.903 MB / 0.7829 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.7012, allocations: 201.2 kB / 0.7831 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/0.706, allocations: 4.016 MB / 0.7871 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.7062, allocations: 53.7 kB / 0.7871 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.707, allocations: 0.8708 MB / 0.788 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/0.7076, allocations: 461.2 kB / 0.7884 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.7077, allocations: 28 kB / 0.7884 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7078, allocations: 345.9 kB / 0.7888 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.7089, allocations: 0.5569 MB / 0.7893 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.7102, allocations: 0.7812 MB / 0.7901 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.7115, allocations: 0.6427 MB / 0.7907 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.7115, allocations: 0 / 0.7907 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003858/0.7154, allocations: 1.721 MB / 0.7924 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.7154, allocations: 10.19 kB / 0.7924 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7155, allocations: 3.984 kB / 0.7924 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009796/0.7164, allocations: 204.2 kB / 0.7926 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.7179, allocations: 323.5 kB / 0.7929 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005958/0.7239, allocations: 6.811 MB / 0.7995 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.7254, allocations: 170.9 kB / 0.7997 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.7256, allocations: 43.97 kB / 0.7997 GB, free: 0.7422 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.0009816/0.7266, allocations: 481.9 kB / 0.8002 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/0.727, allocations: 181.8 kB / 0.8004 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.7315, allocations: 2.078 MB / 0.8024 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.7316, allocations: 12 kB / 0.8024 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.7316, allocations: 4.094 kB / 0.8024 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.7316, allocations: 11.91 kB / 0.8024 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00673/0.7383, allocations: 3.964 MB / 0.8063 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.7384, allocations: 4 kB / 0.8063 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.7398, allocations: 319.6 kB / 0.8066 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.7406, allocations: 216.1 kB / 0.8068 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.7407, allocations: 43.97 kB / 0.8069 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/0.7465, allocations: 6.826 MB / 0.8135 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7465, allocations: 3.953 kB / 0.8135 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.326/1.073, allocations: 1.928 MB / 0.8154 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.074, allocations: 0.5053 MB / 0.8159 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.074, allocations: 26.83 kB / 0.8159 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.076, allocations: 144.7 kB / 0.8161 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/1.076, allocations: 106.4 kB / 0.8162 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.076, allocations: 69.25 kB / 0.8162 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00419/1.08, allocations: 3.088 MB / 0.8193 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/1.08, allocations: 0.9062 kB / 0.8193 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002342/1.083, allocations: 0.642 MB / 0.8199 GB, free: 213.7 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.005772/1.088, allocations: 3.121 MB / 0.8229 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00325/1.092, allocations: 1.996 MB / 0.8249 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/1.092, allocations: 6.219 kB / 0.8249 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.094, allocations: 1.387 MB / 0.8262 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.096, allocations: 496.5 kB / 0.8267 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/1.127, allocations: 18.99 MB / 0.8453 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/1.128, allocations: 1.498 MB / 0.8467 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002082/1.13, allocations: 0.5167 MB / 0.8472 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009582/1.131, allocations: 0.8624 MB / 0.8481 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.131, allocations: 0 / 0.8481 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0704/1.201, allocations: 47.01 MB / 0.894 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.201, allocations: 262.2 kB / 0.8942 GB, free: 153 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/4.692, allocations: 0 / 0.8942 GB, free: 153 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) Environment - environmentSimulation: