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.005882/0.005882, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001356/0.001356, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9426/0.9426, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.88 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4247, allocations: 80.9 MB / 0.6641 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1957/0.6204, allocations: 167 MB / 0.8272 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.6453, allocations: 17.11 MB / 0.8439 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.6471, allocations: 31.81 kB / 0.844 GB, free: 8.793 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.649, allocations: 0.5236 MB / 0.8445 GB, free: 8.266 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.6544, allocations: 1.641 MB / 0.8461 GB, free: 6.621 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.6584, allocations: 1.396 MB / 0.8474 GB, free: 5.238 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004056/0.6624, allocations: 2.541 MB / 0.8499 GB, free: 2.688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.6656, allocations: 1.955 MB / 0.8518 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.6698, allocations: 1.388 MB / 0.8532 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.6716, allocations: 1.031 MB / 0.8542 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007143/0.6723, allocations: 208 kB / 0.8544 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.6758, allocations: 1.54 MB / 0.8559 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009279/0.6767, allocations: 0.779 MB / 0.8566 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.6787, allocations: 1.189 MB / 0.8578 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/0.6839, allocations: 3.543 MB / 0.8613 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6839, allocations: 0 / 0.8613 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6839, allocations: 0 / 0.8613 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.915e-05/0.684, allocations: 0 / 0.8613 GB, free: 7.031 MB / 0.6856 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.004532/0.6885, allocations: 2.792 MB / 0.864 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6886, allocations: 8.031 kB / 0.864 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.6888, allocations: 248.6 kB / 0.8642 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.6924, allocations: 0.5512 MB / 0.8648 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3147/1.007, allocations: 3.389 MB / 0.8681 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/1.007, allocations: 134.2 kB / 0.8682 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/1.008, allocations: 162.4 kB / 0.8684 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/1.012, allocations: 1.886 MB / 0.8702 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/1.012, allocations: 0 / 0.8702 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/1.012, allocations: 74.67 kB / 0.8703 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/1.012, allocations: 39.06 kB / 0.8703 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004761/1.017, allocations: 2.07 MB / 0.8723 GB, free: 189.6 MB / 0.6856 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.01007/1.027, allocations: 6.183 MB / 0.8784 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/1.031, allocations: 2.038 MB / 0.8804 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/1.032, allocations: 0.7384 MB / 0.8811 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/1.033, allocations: 430.8 kB / 0.8815 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/1.034, allocations: 0.9463 MB / 0.8824 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.546e-06/1.034, allocations: 0 / 0.8824 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006299/1.041, allocations: 2.871 MB / 0.8852 GB, free: 182 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/1.041, allocations: 196.3 kB / 0.8854 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.045, allocations: 4.024 MB / 0.8893 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/1.045, allocations: 56.55 kB / 0.8894 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/1.046, allocations: 0.88 MB / 0.8903 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/1.046, allocations: 456.1 kB / 0.8907 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.047, allocations: 223.8 kB / 0.8909 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/1.047, allocations: 352.4 kB / 0.8912 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/1.048, allocations: 0.5461 MB / 0.8918 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.049, allocations: 0.7741 MB / 0.8925 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/1.051, allocations: 1.279 MB / 0.8938 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.051, allocations: 0 / 0.8938 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003723/1.055, allocations: 1.731 MB / 0.8955 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.055, allocations: 4.781 kB / 0.8955 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.055, allocations: 1.344 kB / 0.8955 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009996/1.056, allocations: 204.4 kB / 0.8957 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.057, allocations: 311.8 kB / 0.896 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/1.061, allocations: 7.316 MB / 0.9031 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.063, allocations: 159.1 kB / 0.9033 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/1.063, allocations: 46.75 kB / 0.9033 GB, free: 168.5 MB / 0.6856 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.0008361/1.064, allocations: 473 kB / 0.9038 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/1.064, allocations: 190.1 kB / 0.9039 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/1.068, allocations: 2.047 MB / 0.9059 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.068, allocations: 18.84 kB / 0.906 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.068, allocations: 5.312 kB / 0.906 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.068, allocations: 9.375 kB / 0.906 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/1.074, allocations: 3.959 MB / 0.9098 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/1.074, allocations: 0 / 0.9098 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.076, allocations: 313.5 kB / 0.9101 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007878/1.076, allocations: 205.1 kB / 0.9103 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/1.076, allocations: 39.56 kB / 0.9104 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/1.08, allocations: 7.347 MB / 0.9175 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.08, allocations: 7.656 kB / 0.9176 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/1.084, allocations: 1.924 MB / 0.9194 GB, free: 155.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009262/1.085, allocations: 0.4982 MB / 0.9199 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.085, allocations: 24 kB / 0.9199 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.087, allocations: 110 kB / 0.92 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.087, allocations: 101 kB / 0.9201 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.087, allocations: 71.94 kB / 0.9202 GB, free: 154.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002341/1.089, allocations: 3.1 MB / 0.9232 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.1e-07/1.089, allocations: 0 / 0.9232 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001858/1.091, allocations: 0.6391 MB / 0.9239 GB, free: 151.1 MB / 0.6856 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.005369/1.097, allocations: 3.115 MB / 0.9269 GB, free: 148.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003045/1.1, allocations: 1.984 MB / 0.9288 GB, free: 146.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.1, allocations: 8.312 kB / 0.9289 GB, free: 146.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/1.101, allocations: 1.397 MB / 0.9302 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.104, allocations: 0.5319 MB / 0.9307 GB, free: 144.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.129, allocations: 20.65 MB / 0.9509 GB, free: 123.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/1.13, allocations: 1.519 MB / 0.9524 GB, free: 121.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001568/1.131, allocations: 0.5127 MB / 0.9529 GB, free: 121.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009197/1.132, allocations: 0.8585 MB / 0.9537 GB, free: 120.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.192e-06/1.132, allocations: 0 / 0.9537 GB, free: 120.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/1.212, allocations: 47.91 MB / 1.001 GB, free: 72.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.27, allocations: 6.406 kB / 1.001 GB, free: 72.98 MB / 0.6856 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/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)