Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_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.001232/0.001232, allocations: 91.3 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.009681/0.009681, allocations: 172.8 kB / 16.26 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.3 MB / 426.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8.625 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3671/0.4921, allocations: 171.2 MB / 0.7553 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.5043, allocations: 12.47 MB / 0.7674 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.5047, allocations: 27.81 kB / 0.7675 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.5055, allocations: 365.7 kB / 0.7678 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.507, allocations: 0.8289 MB / 0.7686 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.51, allocations: 1.636 MB / 0.7702 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.5119, allocations: 2.624 MB / 0.7728 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.5133, allocations: 1.37 MB / 0.7741 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.5164, allocations: 1.099 MB / 0.7752 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.517, allocations: 0.6748 MB / 0.7759 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.091e-05/0.5171, allocations: 40 kB / 0.7759 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.5189, allocations: 1.411 MB / 0.7773 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.5191, allocations: 334.5 kB / 0.7776 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.5196, allocations: 0.6579 MB / 0.7782 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.5217, allocations: 2.511 MB / 0.7807 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.5217, allocations: 0 / 0.7807 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5217, allocations: 0 / 0.7807 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.5217, allocations: 0 / 0.7807 GB, free: 7.145 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002165/0.5239, allocations: 1.594 MB / 0.7822 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.5239, allocations: 11.97 kB / 0.7823 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.5241, allocations: 198.3 kB / 0.7824 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.5264, allocations: 409.7 kB / 0.7828 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5275, allocations: 0.9605 MB / 0.7838 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.5276, allocations: 94.62 kB / 0.7839 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5278, allocations: 128 kB / 0.784 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.5298, allocations: 1.464 MB / 0.7854 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5299, allocations: 0 / 0.7854 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.53, allocations: 56 kB / 0.7855 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.53, allocations: 40 kB / 0.7855 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.5323, allocations: 1.54 MB / 0.787 GB, free: 480 kB / 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.005482/0.5378, allocations: 4.938 MB / 0.7918 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.5399, allocations: 1.429 MB / 0.7932 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/0.5406, allocations: 456.8 kB / 0.7937 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006332/0.5413, allocations: 441.3 kB / 0.7941 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000949/0.5422, allocations: 0.6291 MB / 0.7947 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 1.844e-06/0.5422, allocations: 0 / 0.7947 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003367/0.5456, allocations: 1.547 MB / 0.7962 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.5457, allocations: 192.9 kB / 0.7964 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.5466, allocations: 0.8504 MB / 0.7972 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.5467, allocations: 49.7 kB / 0.7973 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.547, allocations: 0.5738 MB / 0.7978 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.5473, allocations: 331.2 kB / 0.7982 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5474, allocations: 73.67 kB / 0.7982 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5475, allocations: 338 kB / 0.7985 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/0.5481, allocations: 353.8 kB / 0.7989 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.5489, allocations: 0.5242 MB / 0.7994 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5503, allocations: 0.8863 MB / 0.8003 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5503, allocations: 0 / 0.8003 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002117/0.5524, allocations: 1.114 MB / 0.8013 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5525, allocations: 7.938 kB / 0.8014 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5525, allocations: 4 kB / 0.8014 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.553, allocations: 89.17 kB / 0.8014 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.5539, allocations: 231.7 kB / 0.8017 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1523/0.7062, allocations: 1.538 MB / 0.8032 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/0.7072, allocations: 139 kB / 0.8033 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.7073, allocations: 47.91 kB / 0.8033 GB, free: 14.95 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.0004055/0.7077, allocations: 329.7 kB / 0.8037 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7079, allocations: 122.6 kB / 0.8038 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.7105, allocations: 1.339 MB / 0.8051 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.7106, allocations: 12 kB / 0.8051 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7106, allocations: 3.938 kB / 0.8051 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.7106, allocations: 3.984 kB / 0.8051 GB, free: 13.12 MB / 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.003795/0.7144, allocations: 2.703 MB / 0.8077 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7144, allocations: 0 / 0.8077 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.7153, allocations: 219.8 kB / 0.808 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/0.7158, allocations: 84.77 kB / 0.808 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.7158, allocations: 31.98 kB / 0.8081 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.7174, allocations: 1.571 MB / 0.8096 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7175, allocations: 0 / 0.8096 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.7196, allocations: 1.238 MB / 0.8108 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.72, allocations: 347.2 kB / 0.8111 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.7202, allocations: 24 kB / 0.8112 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008512/0.721, allocations: 110.6 kB / 0.8113 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.7212, allocations: 68.91 kB / 0.8113 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.7213, allocations: 47.95 kB / 0.8114 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000657/0.7219, allocations: 0.5864 MB / 0.8119 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7219, allocations: 0 / 0.8119 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009295/0.7229, allocations: 462.8 kB / 0.8124 GB, free: 5.383 MB / 0.6231 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.003647/0.7265, allocations: 2.368 MB / 0.8147 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.7283, allocations: 1.047 MB / 0.8157 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7284, allocations: 0 / 0.8157 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.7294, allocations: 0.6406 MB / 0.8164 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.7314, allocations: 491.8 kB / 0.8168 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.7458, allocations: 9.605 MB / 0.8262 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.7465, allocations: 1.178 MB / 0.8273 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001177/0.7477, allocations: 373.3 kB / 0.8277 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006726/0.7484, allocations: 0.5266 MB / 0.8282 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.7484, allocations: 4 kB / 0.8282 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.871/5.62, allocations: 30.3 MB / 0.8578 GB, free: 7.094 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/5.62, allocations: 279.7 kB / 0.8581 GB, free: 6.719 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/8.905, allocations: 0 / 0.8581 GB, free: 6.719 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)