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.001247/0.001247, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009768/0.0009768, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7159/0.7159, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.91 kB / 0.5013 GB, free: 9.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 80.2 MB / 0.5797 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3551/0.4826, allocations: 164.7 MB / 0.7405 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.4997, allocations: 16.94 MB / 0.757 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.5005, allocations: 29.72 kB / 0.7571 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5017, allocations: 459.5 kB / 0.7575 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.5051, allocations: 1.512 MB / 0.759 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.5077, allocations: 1.252 MB / 0.7602 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.5097, allocations: 2.545 MB / 0.7627 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.5116, allocations: 1.958 MB / 0.7646 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.5158, allocations: 1.361 MB / 0.7659 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009735/0.5168, allocations: 1.066 MB / 0.767 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.517, allocations: 208 kB / 0.7672 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.5193, allocations: 1.544 MB / 0.7687 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.5198, allocations: 0.7789 MB / 0.7694 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.5207, allocations: 1.185 MB / 0.7706 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.5239, allocations: 3.54 MB / 0.774 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5239, allocations: 0 / 0.774 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5239, allocations: 0 / 0.774 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.524, allocations: 0 / 0.774 GB, free: 12.2 MB / 0.5919 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.003756/0.5277, allocations: 2.802 MB / 0.7768 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5278, allocations: 12.03 kB / 0.7768 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.528, allocations: 236.6 kB / 0.777 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.5315, allocations: 0.559 MB / 0.7776 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.5346, allocations: 3.356 MB / 0.7808 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.582e-05/0.5346, allocations: 131.3 kB / 0.781 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.5348, allocations: 167.9 kB / 0.7811 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.5377, allocations: 1.885 MB / 0.783 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.5378, allocations: 4 kB / 0.783 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.5379, allocations: 72 kB / 0.783 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.5379, allocations: 40 kB / 0.7831 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/0.5411, allocations: 2.069 MB / 0.7851 GB, free: 0.6992 MB / 0.5919 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.00762/0.5487, allocations: 6.229 MB / 0.7912 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.5515, allocations: 2.04 MB / 0.7932 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.5526, allocations: 0.7381 MB / 0.7939 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.5532, allocations: 433.7 kB / 0.7943 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.5546, allocations: 0.9387 MB / 0.7952 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.595e-06/0.5547, allocations: 0 / 0.7952 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005885/0.5605, allocations: 2.871 MB / 0.798 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.5606, allocations: 197.2 kB / 0.7982 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/0.5643, allocations: 4.028 MB / 0.8021 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5644, allocations: 57.7 kB / 0.8022 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005804/0.565, allocations: 0.8708 MB / 0.8031 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.5653, allocations: 465.2 kB / 0.8035 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.5657, allocations: 230.8 kB / 0.8037 GB, free: 13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5658, allocations: 345.9 kB / 0.804 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000977/0.5668, allocations: 0.5577 MB / 0.8046 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.5679, allocations: 0.7662 MB / 0.8053 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.57, allocations: 1.282 MB / 0.8066 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.57, allocations: 7.938 kB / 0.8066 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003342/0.5734, allocations: 1.717 MB / 0.8083 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5734, allocations: 7.984 kB / 0.8083 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5734, allocations: 4 kB / 0.8083 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/0.5744, allocations: 200.9 kB / 0.8085 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5759, allocations: 319.6 kB / 0.8088 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005324/0.5812, allocations: 7.319 MB / 0.8159 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.5824, allocations: 162.9 kB / 0.8161 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.5825, allocations: 43.97 kB / 0.8161 GB, free: 15.47 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.000705/0.5832, allocations: 477.4 kB / 0.8166 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.5836, allocations: 189.7 kB / 0.8168 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.5876, allocations: 2.051 MB / 0.8188 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5876, allocations: 16 kB / 0.8188 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5876, allocations: 0 / 0.8188 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.5877, allocations: 7.969 kB / 0.8188 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.5933, allocations: 3.958 MB / 0.8227 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5933, allocations: 3.938 kB / 0.8227 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5947, allocations: 311.6 kB / 0.823 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008169/0.5955, allocations: 200.1 kB / 0.8232 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.5956, allocations: 43.91 kB / 0.8232 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.6007, allocations: 7.36 MB / 0.8304 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6007, allocations: 0 / 0.8304 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.6045, allocations: 1.92 MB / 0.8323 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.6052, allocations: 0.4904 MB / 0.8327 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.6054, allocations: 28 kB / 0.8328 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.6066, allocations: 126.1 kB / 0.8329 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.6069, allocations: 105.1 kB / 0.833 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.607, allocations: 71.95 kB / 0.833 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002756/0.6098, allocations: 3.1 MB / 0.8361 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6098, allocations: 0 / 0.8361 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001447/0.6112, allocations: 0.6391 MB / 0.8367 GB, free: 9.512 MB / 0.6544 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.005112/0.6164, allocations: 3.12 MB / 0.8397 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004445/0.6208, allocations: 2.41 MB / 0.8421 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6208, allocations: 0.7969 kB / 0.8421 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.6226, allocations: 1.387 MB / 0.8435 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.6246, allocations: 0.5326 MB / 0.844 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2263/0.8509, allocations: 22.88 MB / 0.8663 GB, free: 217.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007432/0.8516, allocations: 1.509 MB / 0.8678 GB, free: 217.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001722/0.8534, allocations: 0.5089 MB / 0.8683 GB, free: 217.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/0.8542, allocations: 0.8559 MB / 0.8691 GB, free: 217 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.8542, allocations: 0 / 0.8691 GB, free: 217 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7993/1.654, allocations: 46.38 MB / 0.9144 GB, free: 206.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.654, allocations: 281.6 kB / 0.9147 GB, free: 206.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/4.826, allocations: 1.125 kB / 0.9147 GB, free: 206.3 MB / 0.67 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)