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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001569, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7772/0.7772, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 62.23 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4154, allocations: 80.21 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1811/0.5966, allocations: 167 MB / 0.7432 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.6181, allocations: 17.13 MB / 0.76 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.6195, allocations: 31.81 kB / 0.76 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.6213, allocations: 0.5274 MB / 0.7605 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.6259, allocations: 1.636 MB / 0.7621 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.6295, allocations: 1.38 MB / 0.7635 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003074/0.6326, allocations: 2.541 MB / 0.7659 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.6353, allocations: 1.955 MB / 0.7679 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.639, allocations: 1.351 MB / 0.7692 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.6406, allocations: 1.035 MB / 0.7702 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.6412, allocations: 212 kB / 0.7704 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.6444, allocations: 1.509 MB / 0.7719 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009213/0.6454, allocations: 0.7789 MB / 0.7726 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.6472, allocations: 1.181 MB / 0.7738 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005219/0.6524, allocations: 3.47 MB / 0.7772 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.6524, allocations: 0 / 0.7772 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6524, allocations: 0 / 0.7772 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001313/0.6526, allocations: 0 / 0.7772 GB, free: 7.188 MB / 0.6075 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.006258/0.6588, allocations: 2.793 MB / 0.7799 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.6589, allocations: 8.031 kB / 0.7799 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003235/0.6592, allocations: 248.5 kB / 0.7801 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.6631, allocations: 0.555 MB / 0.7807 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.6673, allocations: 3.358 MB / 0.784 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.6675, allocations: 127.2 kB / 0.7841 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/0.6679, allocations: 164 kB / 0.7842 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.6715, allocations: 1.896 MB / 0.7861 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.6716, allocations: 0 / 0.7861 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.6717, allocations: 68 kB / 0.7861 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.6718, allocations: 44 kB / 0.7862 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.6755, allocations: 2.065 MB / 0.7882 GB, free: 11.69 MB / 0.6231 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.009593/0.6851, allocations: 6.241 MB / 0.7943 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.6882, allocations: 2.029 MB / 0.7963 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.6895, allocations: 0.7451 MB / 0.797 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000552/0.6901, allocations: 433.6 kB / 0.7974 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.6918, allocations: 0.9388 MB / 0.7983 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.096e-06/0.6918, allocations: 0 / 0.7983 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006852/0.6986, allocations: 2.864 MB / 0.8011 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.6988, allocations: 201.2 kB / 0.8013 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.7037, allocations: 4.028 MB / 0.8053 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.7038, allocations: 57.7 kB / 0.8053 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007771/0.7046, allocations: 0.8708 MB / 0.8062 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.7051, allocations: 461.2 kB / 0.8066 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.7055, allocations: 230.8 kB / 0.8068 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7056, allocations: 353.9 kB / 0.8072 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.7068, allocations: 0.5491 MB / 0.8077 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.7081, allocations: 0.7735 MB / 0.8085 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7105, allocations: 1.286 MB / 0.8097 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7106, allocations: 0 / 0.8097 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004112/0.7147, allocations: 1.717 MB / 0.8114 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7147, allocations: 4 kB / 0.8114 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7147, allocations: 0 / 0.8114 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.7159, allocations: 212.1 kB / 0.8116 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.7174, allocations: 319.6 kB / 0.8119 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2465/0.9639, allocations: 7.313 MB / 0.819 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.9655, allocations: 154.6 kB / 0.8192 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.9656, allocations: 45.84 kB / 0.8192 GB, free: 212 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 (133): * Single equations (assignments): 128 * 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.000865/0.9665, allocations: 476 kB / 0.8197 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.9669, allocations: 183.9 kB / 0.8199 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.9715, allocations: 2.062 MB / 0.8219 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.9715, allocations: 15.78 kB / 0.8219 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.9715, allocations: 1.094 kB / 0.8219 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.9715, allocations: 7.594 kB / 0.8219 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/0.9784, allocations: 3.952 MB / 0.8258 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9784, allocations: 6.75 kB / 0.8258 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.9799, allocations: 320.2 kB / 0.8261 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/0.9808, allocations: 196.1 kB / 0.8263 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/0.981, allocations: 39.88 kB / 0.8263 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.9855, allocations: 7.352 MB / 0.8335 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9855, allocations: 4.812 kB / 0.8335 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.9895, allocations: 1.922 MB / 0.8354 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000805/0.9903, allocations: 0.4964 MB / 0.8358 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.9906, allocations: 27.16 kB / 0.8359 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.9918, allocations: 103.1 kB / 0.836 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.9921, allocations: 98.7 kB / 0.8361 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.9922, allocations: 75.08 kB / 0.8361 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003185/0.9954, allocations: 3.101 MB / 0.8392 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9954, allocations: 0 / 0.8392 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001624/0.9971, allocations: 0.6359 MB / 0.8398 GB, free: 200.2 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 (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.005419/1.002, allocations: 3.124 MB / 0.8428 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004728/1.007, allocations: 2.404 MB / 0.8452 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.007, allocations: 7.094 kB / 0.8452 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/1.009, allocations: 1.38 MB / 0.8465 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/1.011, allocations: 0.5334 MB / 0.8471 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/1.036, allocations: 22.15 MB / 0.8687 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/1.037, allocations: 1.513 MB / 0.8702 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001917/1.039, allocations: 0.5127 MB / 0.8707 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009539/1.04, allocations: 0.8622 MB / 0.8715 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/1.04, allocations: 4 kB / 0.8715 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3934/1.433, allocations: 46.62 MB / 0.917 GB, free: 129.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.64, allocations: 10.97 kB / 0.917 GB, free: 129.4 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/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)