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.007321/0.007321, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001658/0.001658, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.92/0.92, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 56.09 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4716, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2052/0.6769, allocations: 175.8 MB / 0.8358 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.6948, allocations: 12.64 MB / 0.8482 GB, free: 4.422 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.6962, allocations: 31.81 kB / 0.8482 GB, free: 4.391 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.6978, allocations: 448.7 kB / 0.8486 GB, free: 3.949 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.7009, allocations: 0.9506 MB / 0.8496 GB, free: 2.996 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.7055, allocations: 1.836 MB / 0.8514 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002885/0.7084, allocations: 2.287 MB / 0.8536 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.7104, allocations: 1.582 MB / 0.8551 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.7141, allocations: 1.39 MB / 0.8565 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.7151, allocations: 0.8207 MB / 0.8573 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.7154, allocations: 160 kB / 0.8575 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.7182, allocations: 1.408 MB / 0.8588 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.7186, allocations: 466.5 kB / 0.8593 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007317/0.7194, allocations: 0.8046 MB / 0.8601 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.7229, allocations: 2.637 MB / 0.8626 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7229, allocations: 0 / 0.8626 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7229, allocations: 0 / 0.8626 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.7229, allocations: 0 / 0.8626 GB, free: 5.582 MB / 0.6856 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.002918/0.7259, allocations: 1.903 MB / 0.8645 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7259, allocations: 12.03 kB / 0.8645 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.7261, allocations: 198.3 kB / 0.8647 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.7286, allocations: 405.6 kB / 0.8651 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.7301, allocations: 1.003 MB / 0.8661 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.7302, allocations: 94.62 kB / 0.8661 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7303, allocations: 124 kB / 0.8663 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.7325, allocations: 1.464 MB / 0.8677 GB, free: 208 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.7326, allocations: 4 kB / 0.8677 GB, free: 204 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.7327, allocations: 56 kB / 0.8678 GB, free: 148 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.7327, allocations: 39.88 kB / 0.8678 GB, free: 108 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3407/1.073, allocations: 1.527 MB / 0.8693 GB, free: 193.1 MB / 0.6856 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.007834/1.081, allocations: 4.868 MB / 0.874 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/1.084, allocations: 1.422 MB / 0.8754 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008666/1.085, allocations: 453.8 kB / 0.8759 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/1.086, allocations: 427.3 kB / 0.8763 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/1.087, allocations: 0.6148 MB / 0.8769 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 4.669e-06/1.087, allocations: 3.938 kB / 0.8769 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004401/1.091, allocations: 1.537 MB / 0.8784 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/1.092, allocations: 195.3 kB / 0.8786 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.093, allocations: 0.8434 MB / 0.8794 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.094, allocations: 48.2 kB / 0.8794 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/1.094, allocations: 0.5736 MB / 0.88 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.094, allocations: 327.2 kB / 0.8803 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/1.095, allocations: 180.7 kB / 0.8805 GB, free: 186 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.095, allocations: 350.2 kB / 0.8808 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008966/1.096, allocations: 340.8 kB / 0.8811 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/1.097, allocations: 0.5303 MB / 0.8816 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.098, allocations: 0.8796 MB / 0.8825 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.098, allocations: 1.281 kB / 0.8825 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002543/1.101, allocations: 1.107 MB / 0.8836 GB, free: 184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.101, allocations: 6.719 kB / 0.8836 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.101, allocations: 6.656 kB / 0.8836 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/1.101, allocations: 85.22 kB / 0.8837 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/1.102, allocations: 231.8 kB / 0.8839 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/1.104, allocations: 1.642 MB / 0.8855 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/1.105, allocations: 121.8 kB / 0.8856 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/1.105, allocations: 42.56 kB / 0.8857 GB, free: 182.2 MB / 0.6856 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.0006369/1.106, allocations: 334.7 kB / 0.886 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/1.106, allocations: 114.9 kB / 0.8861 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/1.109, allocations: 1.332 MB / 0.8874 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/1.109, allocations: 11.69 kB / 0.8874 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/1.109, allocations: 3.312 kB / 0.8874 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.109, allocations: 3.984 kB / 0.8874 GB, free: 181.2 MB / 0.6856 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.00479/1.114, allocations: 2.692 MB / 0.89 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.114, allocations: 1.531 kB / 0.89 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/1.115, allocations: 215.7 kB / 0.8902 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/1.115, allocations: 77.78 kB / 0.8903 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/1.115, allocations: 29.64 kB / 0.8904 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/1.117, allocations: 1.674 MB / 0.892 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.117, allocations: 0 / 0.892 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.12, allocations: 1.221 MB / 0.8932 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/1.12, allocations: 337.7 kB / 0.8935 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.12, allocations: 33.77 kB / 0.8935 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/1.121, allocations: 60.25 kB / 0.8936 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.121, allocations: 80.67 kB / 0.8937 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.121, allocations: 46.38 kB / 0.8937 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008441/1.122, allocations: 0.5877 MB / 0.8943 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.122, allocations: 4 kB / 0.8943 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001383/1.124, allocations: 458.5 kB / 0.8947 GB, free: 176.1 MB / 0.6856 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.003959/1.128, allocations: 2.382 MB / 0.8971 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002077/1.13, allocations: 1.036 MB / 0.8981 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.13, allocations: 1.188 kB / 0.8981 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.131, allocations: 0.6342 MB / 0.8987 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.133, allocations: 0.5073 MB / 0.8992 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.147, allocations: 8.506 MB / 0.9075 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/1.148, allocations: 1.179 MB / 0.9086 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001269/1.149, allocations: 375 kB / 0.909 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/1.15, allocations: 0.5369 MB / 0.9095 GB, free: 167 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/1.15, allocations: 0 / 0.9095 GB, free: 167 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/1.209, allocations: 31.98 MB / 0.9408 GB, free: 136.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.27, allocations: 4 kB / 0.9408 GB, free: 136.6 MB / 0.6856 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)