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.001734/0.001734, 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.002257/0.002258, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.581/1.581, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9285/0.9285, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 60.16 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1405, allocations: 80.93 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5551/0.6957, allocations: 164.7 MB / 0.7448 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.7127, allocations: 16.94 MB / 0.7613 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.7137, allocations: 27.81 kB / 0.7614 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.715, allocations: 457.3 kB / 0.7618 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.7188, allocations: 1.51 MB / 0.7633 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.7215, allocations: 1.261 MB / 0.7645 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.7239, allocations: 2.545 MB / 0.767 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.7261, allocations: 1.951 MB / 0.7689 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.7304, allocations: 1.347 MB / 0.7702 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.7316, allocations: 1.074 MB / 0.7713 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.7319, allocations: 208 kB / 0.7715 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.7344, allocations: 1.552 MB / 0.773 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.735, allocations: 0.7712 MB / 0.7737 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.736, allocations: 1.197 MB / 0.7749 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.7395, allocations: 3.532 MB / 0.7783 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7396, allocations: 3.938 kB / 0.7783 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7396, allocations: 0 / 0.7783 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.847e-05/0.7396, allocations: 0 / 0.7783 GB, free: 6.191 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.004332/0.744, allocations: 2.795 MB / 0.7811 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.744, allocations: 12.02 kB / 0.7811 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002368/0.7443, allocations: 240.6 kB / 0.7813 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.7476, allocations: 0.5629 MB / 0.7819 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.7506, allocations: 3.352 MB / 0.7851 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.7507, allocations: 123.3 kB / 0.7853 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.7509, allocations: 167.9 kB / 0.7854 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0052/0.7561, allocations: 1.889 MB / 0.7873 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.7562, allocations: 0 / 0.7873 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.7564, allocations: 72 kB / 0.7873 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.7565, allocations: 40 kB / 0.7874 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/0.7618, allocations: 2.065 MB / 0.7894 GB, free: 10.7 MB / 0.6075 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.0168/0.7787, allocations: 6.249 MB / 0.7955 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00584/0.7845, allocations: 2.035 MB / 0.7975 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.787, allocations: 0.7413 MB / 0.7982 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.7881, allocations: 425.7 kB / 0.7986 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003067/0.7912, allocations: 0.9465 MB / 0.7995 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 8.115e-06/0.7912, allocations: 4 kB / 0.7995 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.0118/0.803, allocations: 2.864 MB / 0.8023 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.8032, allocations: 197.2 kB / 0.8025 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007748/0.811, allocations: 4.032 MB / 0.8065 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004645/0.8115, allocations: 57.7 kB / 0.8065 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.8128, allocations: 0.8708 MB / 0.8074 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008981/0.8138, allocations: 465.2 kB / 0.8078 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/0.8144, allocations: 218.8 kB / 0.808 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002409/0.8147, allocations: 357.9 kB / 0.8084 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.8168, allocations: 0.553 MB / 0.8089 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.8193, allocations: 0.7735 MB / 0.8096 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.8218, allocations: 1.275 MB / 0.8109 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.8218, allocations: 3.938 kB / 0.8109 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004003/0.8258, allocations: 1.709 MB / 0.8126 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.8258, allocations: 8 kB / 0.8126 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8258, allocations: 0 / 0.8126 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.8269, allocations: 221.6 kB / 0.8128 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.8285, allocations: 307.6 kB / 0.8131 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006107/0.8346, allocations: 7.33 MB / 0.8202 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.8377, allocations: 162.9 kB / 0.8204 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/0.838, allocations: 43.97 kB / 0.8204 GB, free: 9.461 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.001674/0.8397, allocations: 469.5 kB / 0.8209 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009089/0.8407, allocations: 193.6 kB / 0.8211 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007755/0.8484, allocations: 2.061 MB / 0.8231 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.8485, allocations: 12 kB / 0.8231 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.8485, allocations: 4 kB / 0.8231 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.8486, allocations: 11.97 kB / 0.8231 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.8612, allocations: 3.945 MB / 0.827 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.8613, allocations: 0 / 0.827 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/0.8642, allocations: 319.6 kB / 0.8273 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.8659, allocations: 204.1 kB / 0.8275 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.8661, allocations: 43.97 kB / 0.8275 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.8769, allocations: 7.361 MB / 0.8347 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8769, allocations: 0 / 0.8347 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/0.8844, allocations: 1.917 MB / 0.8366 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/0.8862, allocations: 0.4904 MB / 0.837 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/0.8866, allocations: 32 kB / 0.8371 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/0.8891, allocations: 129 kB / 0.8372 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/0.8895, allocations: 109 kB / 0.8373 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/0.8898, allocations: 63.95 kB / 0.8374 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005997/0.8958, allocations: 3.1 MB / 0.8404 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.31e-07/0.8958, allocations: 0 / 0.8404 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003048/0.8989, allocations: 0.6469 MB / 0.841 GB, free: 3.504 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.01041/0.9093, allocations: 3.109 MB / 0.8441 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009775/0.9191, allocations: 2.406 MB / 0.8464 GB, free: 14.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.9192, allocations: 8.734 kB / 0.8464 GB, free: 14.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.923, allocations: 1.387 MB / 0.8478 GB, free: 12.63 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.9277, allocations: 0.5249 MB / 0.8483 GB, free: 12.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2804/1.208, allocations: 22.89 MB / 0.8706 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/1.209, allocations: 1.506 MB / 0.8721 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001737/1.211, allocations: 0.5189 MB / 0.8726 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008629/1.212, allocations: 0.8477 MB / 0.8734 GB, free: 211.7 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.212, allocations: 1.5 kB / 0.8734 GB, free: 211.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/2.247, allocations: 46.38 MB / 0.9187 GB, free: 200.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/2.248, allocations: 283.7 kB / 0.919 GB, free: 200.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.071/7.318, allocations: 0 / 0.919 GB, free: 200.4 MB / 0.67 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)