Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.0009473/0.0009475, allocations: 91.45 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.00746/0.00746, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.242/1.242, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.735/0.735, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003074, allocations: 8.781 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3538, allocations: 81.58 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1687/0.5226, allocations: 171.2 MB / 0.751 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.5364, allocations: 12.49 MB / 0.7631 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005911/0.5371, allocations: 31.81 kB / 0.7632 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.5379, allocations: 361.8 kB / 0.7635 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.5397, allocations: 0.8314 MB / 0.7643 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.5431, allocations: 1.632 MB / 0.7659 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.5452, allocations: 2.618 MB / 0.7685 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.5467, allocations: 1.362 MB / 0.7698 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.55, allocations: 1.112 MB / 0.7709 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.5507, allocations: 0.6684 MB / 0.7715 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.5508, allocations: 43.94 kB / 0.7716 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.5527, allocations: 1.419 MB / 0.773 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.553, allocations: 318.7 kB / 0.7733 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.5535, allocations: 0.6657 MB / 0.7739 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.5559, allocations: 2.5 MB / 0.7764 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5559, allocations: 0 / 0.7764 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.836e-06/0.5559, allocations: 7.938 kB / 0.7764 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.5559, allocations: 0 / 0.7764 GB, free: 10.34 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002406/0.5583, allocations: 1.589 MB / 0.7779 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5584, allocations: 8.031 kB / 0.7779 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.5586, allocations: 198.3 kB / 0.7781 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.5609, allocations: 405.7 kB / 0.7785 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.5622, allocations: 0.9566 MB / 0.7795 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.5622, allocations: 106.6 kB / 0.7796 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.5624, allocations: 124 kB / 0.7797 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.5646, allocations: 1.456 MB / 0.7811 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5646, allocations: 3.938 kB / 0.7811 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5647, allocations: 60 kB / 0.7812 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.5648, allocations: 35.94 kB / 0.7812 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.5671, allocations: 1.54 MB / 0.7827 GB, free: 3.68 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.005821/0.573, allocations: 4.944 MB / 0.7875 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.5752, allocations: 1.43 MB / 0.7889 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.576, allocations: 448.3 kB / 0.7893 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/0.5767, allocations: 445.3 kB / 0.7898 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.5777, allocations: 0.6276 MB / 0.7904 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 2.004e-06/0.5777, allocations: 0 / 0.7904 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.003634/0.5814, allocations: 1.544 MB / 0.7919 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.5815, allocations: 192.9 kB / 0.7921 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.5824, allocations: 0.8544 MB / 0.7929 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.848e-05/0.5825, allocations: 45.64 kB / 0.7929 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.5829, allocations: 0.5777 MB / 0.7935 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.5832, allocations: 327.2 kB / 0.7938 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5833, allocations: 77.67 kB / 0.7939 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5835, allocations: 341.9 kB / 0.7942 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.5841, allocations: 345.8 kB / 0.7946 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.585, allocations: 0.532 MB / 0.7951 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.5865, allocations: 0.8824 MB / 0.7959 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5865, allocations: 4 kB / 0.7959 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002254/0.5888, allocations: 1.11 MB / 0.797 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5888, allocations: 8 kB / 0.797 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5888, allocations: 4 kB / 0.797 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.5894, allocations: 97.11 kB / 0.7971 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.5904, allocations: 223.7 kB / 0.7973 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.5923, allocations: 1.536 MB / 0.7988 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/0.5931, allocations: 143 kB / 0.799 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.5932, allocations: 43.97 kB / 0.799 GB, free: 2.145 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004564/0.5936, allocations: 332 kB / 0.7993 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.5938, allocations: 114.6 kB / 0.7994 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.5966, allocations: 1.338 MB / 0.8008 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.5966, allocations: 15.94 kB / 0.8008 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5966, allocations: 4 kB / 0.8008 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5966, allocations: 11.92 kB / 0.8008 GB, free: 320 kB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.003996/0.6006, allocations: 2.697 MB / 0.8034 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6007, allocations: 0 / 0.8034 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/0.6015, allocations: 219.7 kB / 0.8036 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.602, allocations: 88.77 kB / 0.8037 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.6021, allocations: 27.98 kB / 0.8037 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.6038, allocations: 1.571 MB / 0.8053 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6038, allocations: 4.062 kB / 0.8053 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.606, allocations: 1.226 MB / 0.8065 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.6064, allocations: 355.2 kB / 0.8068 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.6066, allocations: 24 kB / 0.8068 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008466/0.6074, allocations: 109.6 kB / 0.8069 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6076, allocations: 76.83 kB / 0.807 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.6077, allocations: 43.97 kB / 0.8071 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006857/0.6084, allocations: 0.5903 MB / 0.8076 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6084, allocations: 0 / 0.8076 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009881/0.6094, allocations: 462.8 kB / 0.8081 GB, free: 8.57 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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003792/0.6132, allocations: 2.378 MB / 0.8104 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.6151, allocations: 1.043 MB / 0.8114 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6151, allocations: 0 / 0.8114 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6162, allocations: 0.6445 MB / 0.812 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.6182, allocations: 475.5 kB / 0.8125 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2582/0.8764, allocations: 9.607 MB / 0.8219 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/0.8774, allocations: 1.177 MB / 0.823 GB, free: 214 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001533/0.8789, allocations: 376.9 kB / 0.8234 GB, free: 214 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.8796, allocations: 0.5348 MB / 0.8239 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/0.8796, allocations: 0 / 0.8239 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4189/1.298, allocations: 30.28 MB / 0.8535 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.299, allocations: 281.4 kB / 0.8538 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/4.257, allocations: 0 / 0.8538 GB, free: 197.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)