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.01016/0.01016, 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.001822/0.001822, allocations: 190.6 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 2.144/2.144, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.103/1.103, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9607/0.9628, allocations: 80.19 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3498/1.313, allocations: 167 MB / 0.8222 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04417/1.357, allocations: 17.11 MB / 0.8389 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/1.36, allocations: 31.81 kB / 0.839 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003493/1.364, allocations: 0.5197 MB / 0.8395 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/1.376, allocations: 1.649 MB / 0.8411 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008158/1.384, allocations: 1.399 MB / 0.8425 GB, free: 9.867 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00852/1.392, allocations: 2.541 MB / 0.8449 GB, free: 7.32 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006196/1.399, allocations: 1.951 MB / 0.8468 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007822/1.406, allocations: 1.381 MB / 0.8482 GB, free: 3.984 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/1.41, allocations: 1.023 MB / 0.8492 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008211/1.411, allocations: 212 kB / 0.8494 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00745/1.418, allocations: 1.548 MB / 0.8509 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002043/1.42, allocations: 0.7751 MB / 0.8517 GB, free: 432 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005343/1.426, allocations: 1.185 MB / 0.8528 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/1.439, allocations: 3.543 MB / 0.8563 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/1.439, allocations: 0 / 0.8563 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.584e-06/1.439, allocations: 0 / 0.8563 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002338/1.439, allocations: 3.938 kB / 0.8563 GB, free: 11.67 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.01616/1.455, allocations: 2.792 MB / 0.859 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001128/1.456, allocations: 12.03 kB / 0.859 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001515/1.457, allocations: 236.6 kB / 0.8593 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007877/1.465, allocations: 0.5668 MB / 0.8598 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.476, allocations: 3.385 MB / 0.8631 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/1.476, allocations: 127.2 kB / 0.8632 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.478, allocations: 168 kB / 0.8634 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/1.488, allocations: 1.888 MB / 0.8652 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/1.488, allocations: 0 / 0.8652 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007251/1.489, allocations: 72 kB / 0.8653 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.391e-05/1.489, allocations: 44 kB / 0.8653 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009594/1.499, allocations: 2.069 MB / 0.8674 GB, free: 140 kB / 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.8142/2.313, allocations: 6.181 MB / 0.8734 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/2.32, allocations: 2.035 MB / 0.8754 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/2.323, allocations: 0.7379 MB / 0.8761 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009903/2.324, allocations: 432.5 kB / 0.8765 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003944/2.328, allocations: 0.9407 MB / 0.8774 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.45e-05/2.328, allocations: 0 / 0.8774 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.01315/2.341, allocations: 2.875 MB / 0.8803 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/2.341, allocations: 195.1 kB / 0.8804 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/2.355, allocations: 4.028 MB / 0.8844 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008731/2.356, allocations: 56.27 kB / 0.8844 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/2.358, allocations: 0.8768 MB / 0.8853 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/2.359, allocations: 458.8 kB / 0.8857 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/2.361, allocations: 222.3 kB / 0.8859 GB, free: 184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000287/2.361, allocations: 355.8 kB / 0.8863 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/2.364, allocations: 0.5457 MB / 0.8868 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/2.367, allocations: 0.7677 MB / 0.8876 GB, free: 183 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004826/2.372, allocations: 1.285 MB / 0.8888 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/2.372, allocations: 0 / 0.8888 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.008186/2.38, allocations: 1.718 MB / 0.8905 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/2.38, allocations: 7.312 kB / 0.8905 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/2.38, allocations: 1.062 kB / 0.8905 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/2.382, allocations: 209.2 kB / 0.8907 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/2.385, allocations: 316.3 kB / 0.891 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/2.393, allocations: 7.319 MB / 0.8981 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/2.396, allocations: 157.2 kB / 0.8983 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/2.397, allocations: 48.69 kB / 0.8983 GB, free: 173.8 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.002812/2.4, allocations: 478.4 kB / 0.8988 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.401, allocations: 182.7 kB / 0.899 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/2.412, allocations: 2.062 MB / 0.901 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.445e-05/2.412, allocations: 15.25 kB / 0.901 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-05/2.412, allocations: 1.188 kB / 0.901 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.555e-05/2.412, allocations: 9.25 kB / 0.901 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/2.431, allocations: 3.947 MB / 0.9049 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/2.431, allocations: 0 / 0.9049 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/2.434, allocations: 315.8 kB / 0.9052 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/2.435, allocations: 200.9 kB / 0.9054 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/2.436, allocations: 39.88 kB / 0.9054 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009098/2.445, allocations: 7.353 MB / 0.9126 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/2.445, allocations: 0 / 0.9126 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009094/2.454, allocations: 1.927 MB / 0.9145 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/2.456, allocations: 0.4912 MB / 0.9149 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009657/2.457, allocations: 31.5 kB / 0.915 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/2.46, allocations: 104.8 kB / 0.9151 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/2.461, allocations: 98.36 kB / 0.9152 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003919/2.461, allocations: 68.5 kB / 0.9152 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005853/2.467, allocations: 3.096 MB / 0.9182 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.7e-07/2.467, allocations: 7.906 kB / 0.9183 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004338/2.472, allocations: 0.6433 MB / 0.9189 GB, free: 159.2 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.01071/2.482, allocations: 3.118 MB / 0.9219 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005239/2.488, allocations: 1.999 MB / 0.9239 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/2.488, allocations: 8.312 kB / 0.9239 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/2.491, allocations: 1.376 MB / 0.9252 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/2.496, allocations: 0.5341 MB / 0.9258 GB, free: 153.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/2.552, allocations: 20.66 MB / 0.9459 GB, free: 132.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/2.555, allocations: 1.513 MB / 0.9474 GB, free: 130.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003691/2.559, allocations: 0.5088 MB / 0.9479 GB, free: 130.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/2.561, allocations: 0.8546 MB / 0.9487 GB, free: 129.4 MB / 0.6856 GB Notification: Performance of SimCode: time 3.026e-06/2.561, allocations: 0 / 0.9487 GB, free: 129.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/2.722, allocations: 47.93 MB / 0.9955 GB, free: 82.05 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.12/28.85, allocations: 8.547 kB / 0.9955 GB, free: 82.05 MB / 0.6856 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)