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.001077/0.001077, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001005/0.001005, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.521/1.521, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 68.83 kB / 0.5049 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2132, allocations: 80.94 MB / 0.584 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002352/0.2156, allocations: 0.6451 MB / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.362e-05/0.2157, allocations: 4 kB / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.2157, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.2157, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.2158, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.804e-05/0.2158, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.601e-05/0.2159, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.2159, allocations: 8 kB / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.216, allocations: 0 / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.216, allocations: 0 / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.216, allocations: 0 / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.216, allocations: 0 / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.216, allocations: 4 kB / 0.5846 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.2161, allocations: 3.938 kB / 0.5846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.842e-05/0.2161, allocations: 7.984 kB / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2161, allocations: 0 / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2161, allocations: 0 / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2161, allocations: 0 / 0.5846 GB, free: 4.164 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.0003368/0.2165, allocations: 303.6 kB / 0.5849 GB, free: 3.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.2165, allocations: 12.06 kB / 0.5849 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.2166, allocations: 34.69 kB / 0.585 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2166, allocations: 8.875 kB / 0.585 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2167, allocations: 168.4 kB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2168, allocations: 384 / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.2168, allocations: 384 / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.2169, allocations: 30.27 kB / 0.5852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2169, allocations: 3.938 kB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2169, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2169, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.2169, allocations: 3.984 kB / 0.5852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.2171, allocations: 145.7 kB / 0.5853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.2172, allocations: 26.52 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.2172, allocations: 12.94 kB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2172, allocations: 0 / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2172, allocations: 34.56 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2172, allocations: 0 / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.2174, allocations: 33.64 kB / 0.5854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2174, allocations: 67.47 kB / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.504e-05/0.2175, allocations: 89.86 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2175, allocations: 25.7 kB / 0.5856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.2176, allocations: 84.12 kB / 0.5857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.2176, allocations: 3.906 kB / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.2176, allocations: 9.719 kB / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2178, allocations: 318.8 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.2178, allocations: 3.938 kB / 0.586 GB, free: 2.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-06/0.2178, allocations: 4 kB / 0.586 GB, free: 2.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.2178, allocations: 12.86 kB / 0.586 GB, free: 2.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2178, allocations: 4 kB / 0.586 GB, free: 2.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.597e-05/0.2179, allocations: 29.7 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2179, allocations: 4 kB / 0.5861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2179, allocations: 7.875 kB / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.218, allocations: 4 kB / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.218, allocations: 0 / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.218, allocations: 96 / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.218, allocations: 4 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2181, allocations: 0 / 0.5861 GB, free: 2.469 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.2181, allocations: 113.8 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-06/0.2182, allocations: 0 / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.2182, allocations: 11.06 kB / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2182, allocations: 0 / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2182, allocations: 0 / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2182, allocations: 0 / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.674e-05/0.2183, allocations: 146 kB / 0.5863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2183, allocations: 11.92 kB / 0.5863 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.2183, allocations: 0 / 0.5863 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2184, allocations: 0 / 0.5863 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2184, allocations: 3.938 kB / 0.5863 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2184, allocations: 0 / 0.5863 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2184, allocations: 4 kB / 0.5863 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.109e-05/0.2185, allocations: 57.08 kB / 0.5864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.2185, allocations: 77.11 kB / 0.5865 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2185, allocations: 11.95 kB / 0.5865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.2185, allocations: 0 / 0.5865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.2186, allocations: 4 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2186, allocations: 0 / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.2186, allocations: 75.28 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2186, allocations: 0 / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001903/0.2188, allocations: 0 / 0.5866 GB, free: 1.867 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003758/0.2192, allocations: 0.5968 MB / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.2193, allocations: 7.938 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2193, allocations: 3.938 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.461e-06/0.2193, allocations: 0 / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2194, allocations: 4 kB / 0.5872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.2198, allocations: 110.8 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2201, allocations: 0.6768 MB / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.2201, allocations: 0 / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.2201, allocations: 7.438 kB / 0.5879 GB, free: 372 kB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2201, allocations: 0 / 0.5879 GB, free: 372 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.2317, allocations: 0.7816 MB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.232, allocations: 179.2 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.128, allocations: 0 / 0.5889 GB, free: 15.44 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/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)