Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",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.001123/0.001123, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001325/0.001325, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.3 MB / 426.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005834/0.0005836, allocations: 8.938 kB / 0.5071 GB, free: 4.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1884, allocations: 82.32 MB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0009537/0.1894, allocations: 315.6 kB / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 5.445e-05/0.1895, allocations: 4 kB / 0.5878 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.1895, allocations: 0 / 0.5878 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1896, allocations: 3.938 kB / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-06/0.1896, allocations: 0 / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.921e-05/0.1896, allocations: 4 kB / 0.5878 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.1897, allocations: 4 kB / 0.5878 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.1898, allocations: 0 / 0.5878 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.1898, allocations: 0 / 0.5878 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.886e-05/0.1898, allocations: 4 kB / 0.5878 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1899, allocations: 0 / 0.5878 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.1899, allocations: 0 / 0.5878 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1899, allocations: 0 / 0.5878 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.1899, allocations: 25.7 kB / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.062e-05/0.19, allocations: 0 / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.19, allocations: 0 / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.19, allocations: 3.938 kB / 0.5878 GB, free: 2.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.19, allocations: 4 kB / 0.5878 GB, free: 2.477 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003666/0.1904, allocations: 311.4 kB / 0.5881 GB, free: 2.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1905, allocations: 8.031 kB / 0.5881 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1905, allocations: 30.56 kB / 0.5881 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1905, allocations: 0 / 0.5881 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1907, allocations: 167 kB / 0.5883 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1907, allocations: 0 / 0.5883 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1907, allocations: 4 kB / 0.5883 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1909, allocations: 29.64 kB / 0.5883 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1909, allocations: 4 kB / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1909, allocations: 0 / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1909, allocations: 0 / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.1909, allocations: 4 kB / 0.5883 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1911, allocations: 149.6 kB / 0.5885 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.1912, allocations: 18.58 kB / 0.5885 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1912, allocations: 8.953 kB / 0.5885 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1912, allocations: 7.938 kB / 0.5885 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1913, allocations: 30.56 kB / 0.5886 GB, free: 1.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1913, allocations: 0 / 0.5886 GB, free: 1.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.1914, allocations: 37.62 kB / 0.5886 GB, free: 1.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1915, allocations: 55.41 kB / 0.5886 GB, free: 1.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.1915, allocations: 93.86 kB / 0.5887 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1916, allocations: 25.7 kB / 0.5888 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1916, allocations: 80.27 kB / 0.5888 GB, free: 1.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.1917, allocations: 7.906 kB / 0.5888 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.1917, allocations: 0 / 0.5888 GB, free: 1.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1918, allocations: 310.8 kB / 0.5891 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.1919, allocations: 4 kB / 0.5891 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.1919, allocations: 7.938 kB / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.623e-05/0.1919, allocations: 0 / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1919, allocations: 0 / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.428e-05/0.192, allocations: 37.66 kB / 0.5892 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.192, allocations: 16.08 kB / 0.5892 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.192, allocations: 0 / 0.5892 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.192, allocations: 0 / 0.5892 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.1921, allocations: 3.938 kB / 0.5892 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1921, allocations: 0 / 0.5892 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.1921, allocations: 4 kB / 0.5892 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1921, allocations: 0 / 0.5892 GB, free: 0.8242 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.136e-05/0.1922, allocations: 105.8 kB / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.1923, allocations: 3.953 kB / 0.5893 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.1923, allocations: 11.11 kB / 0.5893 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1923, allocations: 0 / 0.5893 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1923, allocations: 4 kB / 0.5893 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1923, allocations: 4 kB / 0.5893 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1924, allocations: 146 kB / 0.5895 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1924, allocations: 0 / 0.5895 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.1925, allocations: 3.938 kB / 0.5895 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1925, allocations: 7.953 kB / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1925, allocations: 0 / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1925, allocations: 0 / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1925, allocations: 0 / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.002e-05/0.1926, allocations: 61.12 kB / 0.5895 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.1926, allocations: 77.11 kB / 0.5896 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1926, allocations: 7.953 kB / 0.5896 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.1927, allocations: 0 / 0.5896 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.1927, allocations: 0 / 0.5896 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.1927, allocations: 0 / 0.5896 GB, free: 312 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.1927, allocations: 75.28 kB / 0.5897 GB, free: 236 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1927, allocations: 4.031 kB / 0.5897 GB, free: 232 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.193, allocations: 0 / 0.5897 GB, free: 232 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004247/0.1934, allocations: 0.6006 MB / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.1935, allocations: 4 kB / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1935, allocations: 4.094 kB / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.1935, allocations: 4 kB / 0.5903 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1937, allocations: 3.953 kB / 0.5903 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.194, allocations: 108.3 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1942, allocations: 0.6731 MB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.1943, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1943, allocations: 7.438 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1943, allocations: 0 / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.2047, allocations: 0.6997 MB / 0.5917 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.2049, allocations: 173.3 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.891, allocations: 0 / 0.5919 GB, free: 13.91 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: