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.005385/0.005385, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001255/0.001255, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7769/0.7769, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.48 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1726, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6054/0.7781, allocations: 167 MB / 0.8222 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.8017, allocations: 17.12 MB / 0.8389 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.8045, allocations: 32.12 kB / 0.839 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.8066, allocations: 0.543 MB / 0.8395 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007452/0.8141, allocations: 1.665 MB / 0.8411 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.82, allocations: 1.402 MB / 0.8425 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005712/0.8258, allocations: 2.547 MB / 0.845 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004105/0.8299, allocations: 1.955 MB / 0.8469 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.835, allocations: 1.408 MB / 0.8483 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.8373, allocations: 1.035 MB / 0.8493 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003866/0.8377, allocations: 208.4 kB / 0.8495 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.842, allocations: 1.547 MB / 0.851 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007803/0.8428, allocations: 0.7703 MB / 0.8517 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.8443, allocations: 1.185 MB / 0.8529 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005965/0.8502, allocations: 3.551 MB / 0.8564 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8503, allocations: 3.094 kB / 0.8564 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.574e-06/0.8503, allocations: 0.9688 kB / 0.8564 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.423e-05/0.8503, allocations: 0 / 0.8564 GB, free: 1.344 MB / 0.6387 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.004421/0.8548, allocations: 2.798 MB / 0.8591 GB, free: 0 / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8548, allocations: 8.812 kB / 0.8591 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.8551, allocations: 239.8 kB / 0.8593 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/0.8588, allocations: 0.566 MB / 0.8599 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/0.863, allocations: 3.386 MB / 0.8632 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.8632, allocations: 128.7 kB / 0.8633 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.8634, allocations: 162.2 kB / 0.8635 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.8667, allocations: 1.891 MB / 0.8653 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.8668, allocations: 0 / 0.8653 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.8669, allocations: 70.94 kB / 0.8654 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.867, allocations: 40.91 kB / 0.8654 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.8704, allocations: 2.069 MB / 0.8675 GB, free: 15.14 MB / 0.6544 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.01041/0.8808, allocations: 6.192 MB / 0.8735 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.8841, allocations: 2.025 MB / 0.8755 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.8853, allocations: 0.7442 MB / 0.8762 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.886, allocations: 429 kB / 0.8766 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/0.8876, allocations: 0.9398 MB / 0.8775 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 3.767e-06/0.8877, allocations: 1.062 kB / 0.8775 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006664/0.8943, allocations: 2.869 MB / 0.8803 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.8945, allocations: 200.3 kB / 0.8805 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004657/0.8991, allocations: 4.03 MB / 0.8845 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003814/0.8996, allocations: 56.83 kB / 0.8845 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008375/0.9004, allocations: 0.8708 MB / 0.8854 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.9009, allocations: 456.8 kB / 0.8858 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/0.9013, allocations: 228.4 kB / 0.886 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9015, allocations: 352.2 kB / 0.8864 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.9027, allocations: 0.5528 MB / 0.8869 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.9041, allocations: 0.7728 MB / 0.8876 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.9066, allocations: 1.281 MB / 0.8889 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.9066, allocations: 3.938 kB / 0.8889 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004328/0.911, allocations: 1.711 MB / 0.8906 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.911, allocations: 5.625 kB / 0.8906 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.9111, allocations: 1.625 kB / 0.8906 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.9122, allocations: 222.7 kB / 0.8908 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.9137, allocations: 314 kB / 0.8911 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.9199, allocations: 7.32 MB / 0.8982 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.9218, allocations: 156.1 kB / 0.8984 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.922, allocations: 45 kB / 0.8984 GB, free: 12.62 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.001047/0.923, allocations: 480 kB / 0.8989 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.9234, allocations: 185.7 kB / 0.8991 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.9276, allocations: 2.052 MB / 0.9011 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.9276, allocations: 15.94 kB / 0.9011 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.9277, allocations: 4 kB / 0.9011 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.9277, allocations: 8.938 kB / 0.9011 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006509/0.9342, allocations: 3.941 MB / 0.9049 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.9342, allocations: 5.062 kB / 0.9049 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.9356, allocations: 313.3 kB / 0.9052 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008645/0.9364, allocations: 206 kB / 0.9054 GB, free: 5.434 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.684e-05/0.9366, allocations: 35.97 kB / 0.9055 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.9425, allocations: 7.353 MB / 0.9127 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9425, allocations: 0 / 0.9127 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.9468, allocations: 1.924 MB / 0.9145 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.948, allocations: 498.2 kB / 0.915 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.9482, allocations: 35.92 kB / 0.915 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.9494, allocations: 101.2 kB / 0.9151 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.9497, allocations: 105.2 kB / 0.9152 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.9498, allocations: 67.95 kB / 0.9153 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003197/0.953, allocations: 3.1 MB / 0.9183 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.953, allocations: 3.188 kB / 0.9183 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001896/0.9549, allocations: 0.6352 MB / 0.919 GB, free: 6.887 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.005789/0.9607, allocations: 3.133 MB / 0.922 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.9642, allocations: 1.996 MB / 0.924 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.9642, allocations: 0.7969 kB / 0.924 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.9663, allocations: 1.384 MB / 0.9253 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.969, allocations: 0.5216 MB / 0.9258 GB, free: 28 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/1.002, allocations: 20.66 MB / 0.946 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.003, allocations: 1.506 MB / 0.9475 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001828/1.005, allocations: 0.5105 MB / 0.948 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.006, allocations: 0.8546 MB / 0.9488 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/1.006, allocations: 0 / 0.9488 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.138, allocations: 47.06 MB / 0.9948 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/16, allocations: 15.59 kB / 0.9948 GB, free: 9.836 MB / 0.7637 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)