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.007564/0.007564, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001707/0.001707, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.774/0.774, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.36 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1573, allocations: 80.93 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6026/0.76, allocations: 167 MB / 0.8272 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0302/0.7902, allocations: 17.11 MB / 0.8439 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.7918, allocations: 33.38 kB / 0.844 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.7938, allocations: 0.5373 MB / 0.8445 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/0.7992, allocations: 1.674 MB / 0.8461 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.803, allocations: 1.395 MB / 0.8475 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.8066, allocations: 2.562 MB / 0.85 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.8096, allocations: 1.95 MB / 0.8519 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.814, allocations: 1.393 MB / 0.8532 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.8159, allocations: 1.041 MB / 0.8543 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006693/0.8165, allocations: 209.7 kB / 0.8545 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/0.8201, allocations: 1.543 MB / 0.856 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009915/0.8212, allocations: 0.7733 MB / 0.8567 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.8233, allocations: 1.189 MB / 0.8579 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005862/0.8292, allocations: 3.54 MB / 0.8613 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8292, allocations: 0 / 0.8613 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8293, allocations: 0 / 0.8613 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.301e-05/0.8294, allocations: 4 kB / 0.8613 GB, free: 5.719 MB / 0.6231 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.005655/0.835, allocations: 2.808 MB / 0.8641 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8351, allocations: 9.109 kB / 0.8641 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003755/0.8355, allocations: 244.5 kB / 0.8643 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/0.8392, allocations: 0.5512 MB / 0.8649 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.8435, allocations: 3.393 MB / 0.8682 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.8436, allocations: 127.3 kB / 0.8683 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.844, allocations: 171.9 kB / 0.8685 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.8476, allocations: 1.888 MB / 0.8703 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.8476, allocations: 0 / 0.8703 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.8478, allocations: 76 kB / 0.8704 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.8479, allocations: 44 kB / 0.8704 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.8514, allocations: 2.065 MB / 0.8724 GB, free: 10.17 MB / 0.6387 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.009588/0.861, allocations: 6.186 MB / 0.8785 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.8641, allocations: 2.025 MB / 0.8805 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.8654, allocations: 0.7413 MB / 0.8812 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.866, allocations: 433.6 kB / 0.8816 GB, free: 392 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.8677, allocations: 0.931 MB / 0.8825 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 4.419e-06/0.8677, allocations: 4 kB / 0.8825 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.00672/0.8744, allocations: 2.864 MB / 0.8853 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.8745, allocations: 201.2 kB / 0.8855 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/0.8794, allocations: 4.028 MB / 0.8894 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.8798, allocations: 57.7 kB / 0.8895 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008458/0.8806, allocations: 0.8747 MB / 0.8903 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.8812, allocations: 457.3 kB / 0.8908 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004655/0.8817, allocations: 230.7 kB / 0.891 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8818, allocations: 353.9 kB / 0.8913 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.8829, allocations: 0.553 MB / 0.8919 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.8842, allocations: 0.7657 MB / 0.8926 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.8865, allocations: 1.282 MB / 0.8939 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8865, allocations: 0 / 0.8939 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003918/0.8904, allocations: 1.733 MB / 0.8956 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.8905, allocations: 4 kB / 0.8956 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8905, allocations: 4 kB / 0.8956 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.8915, allocations: 204.1 kB / 0.8958 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.8931, allocations: 315.6 kB / 0.8961 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/0.8993, allocations: 7.324 MB / 0.9032 GB, free: 9.199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.9008, allocations: 158.9 kB / 0.9034 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.901, allocations: 43.97 kB / 0.9034 GB, free: 9 MB / 0.67 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.001024/0.9021, allocations: 473.4 kB / 0.9039 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005501/0.9026, allocations: 185.8 kB / 0.904 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.9072, allocations: 2.055 MB / 0.906 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.9073, allocations: 12 kB / 0.9061 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9073, allocations: 4 kB / 0.9061 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.9073, allocations: 7.969 kB / 0.9061 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/0.9148, allocations: 3.956 MB / 0.9099 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.9149, allocations: 0 / 0.9099 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.9163, allocations: 319.6 kB / 0.9102 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008359/0.9171, allocations: 200.1 kB / 0.9104 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.9173, allocations: 39.97 kB / 0.9105 GB, free: 1.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005832/0.9231, allocations: 7.355 MB / 0.9176 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9231, allocations: 4.062 kB / 0.9177 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.9274, allocations: 1.922 MB / 0.9195 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.9284, allocations: 0.4904 MB / 0.92 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/0.9288, allocations: 28 kB / 0.92 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.9302, allocations: 99.94 kB / 0.9201 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.9304, allocations: 97.17 kB / 0.9202 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.9306, allocations: 71.94 kB / 0.9203 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003512/0.9342, allocations: 3.104 MB / 0.9233 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.823e-06/0.9342, allocations: 0 / 0.9233 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002039/0.9362, allocations: 0.643 MB / 0.9239 GB, free: 3.07 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.006414/0.9426, allocations: 3.127 MB / 0.927 GB, free: 88 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003695/0.9464, allocations: 1.996 MB / 0.929 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.9464, allocations: 0.7969 kB / 0.929 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.9486, allocations: 1.387 MB / 0.9303 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.9516, allocations: 0.5226 MB / 0.9308 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03306/0.9847, allocations: 20.66 MB / 0.951 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.9866, allocations: 1.502 MB / 0.9525 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002276/0.9889, allocations: 0.5127 MB / 0.953 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/0.9904, allocations: 0.8507 MB / 0.9538 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of SimCode: time 6.62e-07/0.9904, allocations: 0 / 0.9538 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09859/1.089, allocations: 47.06 MB / 0.9997 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.26, allocations: 7.844 kB / 0.9998 GB, free: 5.59 MB / 0.7637 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)