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: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009097/0.009098, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001921/0.001921, allocations: 189.8 kB / 16.67 MB, free: 5.871 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8199/0.8199, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.98 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1765, allocations: 80.92 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6345/0.811, allocations: 175.8 MB / 0.8363 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.8277, allocations: 12.63 MB / 0.8486 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.8294, allocations: 32.56 kB / 0.8487 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.8308, allocations: 445.3 kB / 0.8491 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.834, allocations: 0.942 MB / 0.85 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.8392, allocations: 1.812 MB / 0.8518 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003181/0.8424, allocations: 2.283 MB / 0.854 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.8446, allocations: 1.579 MB / 0.8556 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.8487, allocations: 1.368 MB / 0.8569 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.85, allocations: 0.808 MB / 0.8577 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.8503, allocations: 157.6 kB / 0.8578 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.8535, allocations: 1.412 MB / 0.8592 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.854, allocations: 470.6 kB / 0.8597 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008336/0.8549, allocations: 0.7929 MB / 0.8604 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.8592, allocations: 2.658 MB / 0.863 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8592, allocations: 0 / 0.863 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8592, allocations: 0 / 0.863 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.538e-05/0.8593, allocations: 0 / 0.863 GB, free: 4.008 MB / 0.6231 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.003481/0.8628, allocations: 1.959 MB / 0.865 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.8628, allocations: 9.109 kB / 0.865 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.8654, allocations: 410.5 kB / 0.8654 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.867, allocations: 0.9887 MB / 0.8663 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.8671, allocations: 98.62 kB / 0.8664 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.8673, allocations: 128 kB / 0.8665 GB, free: 332 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.8698, allocations: 1.456 MB / 0.868 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.8698, allocations: 0 / 0.868 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.87, allocations: 60 kB / 0.868 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.87, allocations: 32 kB / 0.868 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.8725, allocations: 1.539 MB / 0.8695 GB, free: 13.15 MB / 0.6387 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.006858/0.8794, allocations: 4.886 MB / 0.8743 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.8818, allocations: 1.423 MB / 0.8757 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007949/0.8826, allocations: 460.5 kB / 0.8761 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007567/0.8834, allocations: 421.4 kB / 0.8765 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.8845, allocations: 0.6169 MB / 0.8772 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 2.916e-06/0.8845, allocations: 0 / 0.8772 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.003885/0.8884, allocations: 1.544 MB / 0.8787 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.8886, allocations: 196.9 kB / 0.8788 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.8897, allocations: 0.8543 MB / 0.8797 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/0.8898, allocations: 41.7 kB / 0.8797 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.8903, allocations: 0.579 MB / 0.8803 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.8906, allocations: 349 kB / 0.8806 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.8909, allocations: 198.6 kB / 0.8808 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.891, allocations: 341.9 kB / 0.8811 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.8917, allocations: 365.8 kB / 0.8815 GB, free: 384 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/0.8926, allocations: 0.5364 MB / 0.882 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.8943, allocations: 0.898 MB / 0.8829 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8943, allocations: 0 / 0.8829 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002605/0.8969, allocations: 1.161 MB / 0.884 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.897, allocations: 4 kB / 0.884 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.897, allocations: 7.938 kB / 0.884 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.8976, allocations: 92.8 kB / 0.8841 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/0.8986, allocations: 235.7 kB / 0.8843 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.9007, allocations: 1.65 MB / 0.886 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009079/0.9016, allocations: 119.2 kB / 0.8861 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.9017, allocations: 47.97 kB / 0.8861 GB, free: 11.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (119): * Single equations (assignments): 118 * 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.0006091/0.9023, allocations: 337.5 kB / 0.8864 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.9025, allocations: 119.2 kB / 0.8865 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.9055, allocations: 1.322 MB / 0.8878 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.9055, allocations: 15.94 kB / 0.8879 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.9055, allocations: 0 / 0.8879 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.9055, allocations: 3.984 kB / 0.8879 GB, free: 9.574 MB / 0.6544 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.004347/0.9099, allocations: 2.696 MB / 0.8905 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9099, allocations: 0 / 0.8905 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009309/0.9109, allocations: 215.7 kB / 0.8907 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.9113, allocations: 72.78 kB / 0.8908 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.9114, allocations: 35.97 kB / 0.8908 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.9133, allocations: 1.681 MB / 0.8924 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9133, allocations: 80 / 0.8924 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.9158, allocations: 1.233 MB / 0.8936 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.9163, allocations: 339.9 kB / 0.894 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.9164, allocations: 20 kB / 0.894 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/0.9172, allocations: 78.11 kB / 0.8941 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.9174, allocations: 72.89 kB / 0.8941 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.9175, allocations: 47.91 kB / 0.8942 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008105/0.9183, allocations: 0.5941 MB / 0.8948 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9183, allocations: 3.938 kB / 0.8948 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001459/0.9198, allocations: 466.8 kB / 0.8952 GB, free: 1.758 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 (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.00187/0.9217, allocations: 0.6999 MB / 0.8959 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.9239, allocations: 1.074 MB / 0.8969 GB, free: 152 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.9239, allocations: 4 kB / 0.8969 GB, free: 148 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.925, allocations: 0.6252 MB / 0.8976 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9271, allocations: 0.5187 MB / 0.8981 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.9319, allocations: 2.359 MB / 0.9004 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.9327, allocations: 1.178 MB / 0.9015 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001213/0.9339, allocations: 377.2 kB / 0.9019 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.9343, allocations: 127.4 kB / 0.902 GB, free: 10.91 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.9343, allocations: 0 / 0.902 GB, free: 10.91 MB / 0.67 GB Notification: Performance of Templates: time 0.04066/0.9749, allocations: 23.08 MB / 0.9245 GB, free: 4.082 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)