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.000777/0.000777, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004888/0.004888, allocations: 171 kB / 16.26 MB, free: 6.676 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.301/1.301, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7257/0.7257, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3695, allocations: 81.57 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1617/0.5312, allocations: 162.5 MB / 0.7424 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.5509, allocations: 16.92 MB / 0.7589 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.5522, allocations: 27.81 kB / 0.759 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.5533, allocations: 453.3 kB / 0.7594 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.5566, allocations: 1.464 MB / 0.7608 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.5593, allocations: 1.232 MB / 0.762 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.5616, allocations: 2.787 MB / 0.7648 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.5634, allocations: 1.69 MB / 0.7664 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.5673, allocations: 1.038 MB / 0.7674 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.5682, allocations: 0.8355 MB / 0.7682 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.5683, allocations: 44 kB / 0.7683 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.5705, allocations: 1.513 MB / 0.7698 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.571, allocations: 0.572 MB / 0.7703 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.5717, allocations: 0.976 MB / 0.7713 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.5746, allocations: 3.352 MB / 0.7745 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5746, allocations: 0 / 0.7745 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5746, allocations: 0 / 0.7745 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5747, allocations: 4 kB / 0.7745 GB, free: 12.32 MB / 0.6075 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.003328/0.578, allocations: 2.329 MB / 0.7768 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.578, allocations: 12.03 kB / 0.7768 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002618/0.5783, allocations: 240.6 kB / 0.7771 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.5816, allocations: 0.5707 MB / 0.7776 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.585, allocations: 3.354 MB / 0.7809 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.5851, allocations: 127.2 kB / 0.781 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.5853, allocations: 160 kB / 0.7812 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.5883, allocations: 1.9 MB / 0.783 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.5883, allocations: 7.922 kB / 0.783 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.5885, allocations: 68 kB / 0.7831 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.5885, allocations: 40 kB / 0.7831 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.5918, allocations: 2.085 MB / 0.7852 GB, free: 1.25 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.007812/0.5996, allocations: 6.271 MB / 0.7913 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.6026, allocations: 2.051 MB / 0.7933 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.6038, allocations: 0.7536 MB / 0.794 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.6043, allocations: 433.7 kB / 0.7944 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.6058, allocations: 0.9465 MB / 0.7954 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.364e-06/0.6058, allocations: 4 kB / 0.7954 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.005934/0.6118, allocations: 2.895 MB / 0.7982 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.515e-05/0.6119, allocations: 205.2 kB / 0.7984 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.6157, allocations: 4.031 MB / 0.8023 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6158, allocations: 53.7 kB / 0.8024 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/0.6164, allocations: 0.8786 MB / 0.8032 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.6168, allocations: 461.2 kB / 0.8037 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6169, allocations: 93.66 kB / 0.8038 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.617, allocations: 345.9 kB / 0.8041 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.618, allocations: 0.5608 MB / 0.8046 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6192, allocations: 0.7813 MB / 0.8054 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.6214, allocations: 1.294 MB / 0.8067 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6214, allocations: 0 / 0.8067 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003418/0.6249, allocations: 1.744 MB / 0.8084 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6249, allocations: 10.97 kB / 0.8084 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6249, allocations: 0 / 0.8084 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009798/0.6259, allocations: 208.1 kB / 0.8086 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.6273, allocations: 315.6 kB / 0.8089 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/0.6326, allocations: 6.819 MB / 0.8155 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.6337, allocations: 182.8 kB / 0.8157 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.6338, allocations: 47.97 kB / 0.8158 GB, free: 500 kB / 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.0006409/0.6345, allocations: 477.4 kB / 0.8162 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2463/0.8808, allocations: 181.5 kB / 0.8164 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.8855, allocations: 2.076 MB / 0.8184 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.8855, allocations: 13.88 kB / 0.8184 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8856, allocations: 1.719 kB / 0.8184 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.8856, allocations: 15.88 kB / 0.8184 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006146/0.8917, allocations: 3.956 MB / 0.8223 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8917, allocations: 0 / 0.8223 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.8931, allocations: 322.3 kB / 0.8226 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/0.894, allocations: 218.7 kB / 0.8228 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.8941, allocations: 41.52 kB / 0.8229 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/0.898, allocations: 6.842 MB / 0.8295 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.898, allocations: 0 / 0.8295 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.9014, allocations: 1.948 MB / 0.8315 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006524/0.9021, allocations: 0.5005 MB / 0.8319 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.9023, allocations: 26.92 kB / 0.832 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.9035, allocations: 141.9 kB / 0.8321 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.9037, allocations: 108.3 kB / 0.8322 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.9038, allocations: 64.56 kB / 0.8323 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002621/0.9064, allocations: 3.101 MB / 0.8353 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9064, allocations: 0 / 0.8353 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001456/0.9079, allocations: 0.649 MB / 0.8359 GB, free: 206.2 MB / 0.6387 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.004865/0.9128, allocations: 3.137 MB / 0.839 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.9156, allocations: 2.012 MB / 0.841 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9156, allocations: 5.375 kB / 0.841 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.9172, allocations: 1.395 MB / 0.8423 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.9192, allocations: 498.4 kB / 0.8428 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/0.9441, allocations: 23 MB / 0.8653 GB, free: 183.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.9449, allocations: 1.521 MB / 0.8667 GB, free: 181.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00165/0.9465, allocations: 0.5205 MB / 0.8673 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.9474, allocations: 0.8468 MB / 0.8681 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.9474, allocations: 3.938 kB / 0.8681 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8864/1.834, allocations: 44.27 MB / 0.9113 GB, free: 136.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.834, allocations: 291 kB / 0.9116 GB, free: 136.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.158/4.992, allocations: 0 / 0.9116 GB, free: 136.5 MB / 0.6387 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)