Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 217.7 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8843/0.8843, allocations: 134 MB / 446.4 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 77.75 kB / 0.6185 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1828, allocations: 85.89 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001875/0.1846, allocations: 0.5951 MB / 0.703 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 4.817e-05/0.1847, allocations: 15.86 kB / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.1847, allocations: 0 / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.1847, allocations: 0 / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.1847, allocations: 0 / 0.703 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.004e-05/0.1848, allocations: 4 kB / 0.703 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.1848, allocations: 4 kB / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.459e-05/0.1849, allocations: 416 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.1849, allocations: 3.984 kB / 0.703 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.23e-05/0.1849, allocations: 0 / 0.703 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1849, allocations: 4 kB / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-06/0.1849, allocations: 0 / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.185, allocations: 4 kB / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.185, allocations: 0 / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.585e-05/0.185, allocations: 0 / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.185, allocations: 0 / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.185, allocations: 0 / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.1851, allocations: 0 / 0.703 GB, free: 0.8086 MB / 0.5137 GB 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.000308/0.1854, allocations: 242.7 kB / 0.7033 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1854, allocations: 8.031 kB / 0.7033 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1854, allocations: 34.75 kB / 0.7033 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.788e-05/0.1855, allocations: 0.9375 kB / 0.7033 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.1856, allocations: 114.5 kB / 0.7034 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1856, allocations: 4.312 kB / 0.7034 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1856, allocations: 4.312 kB / 0.7034 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1857, allocations: 30.27 kB / 0.7034 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1857, allocations: 3.938 kB / 0.7034 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.1857, allocations: 0 / 0.7034 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1857, allocations: 0 / 0.7034 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.1857, allocations: 0 / 0.7034 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.1859, allocations: 124.8 kB / 0.7036 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.1859, allocations: 18.58 kB / 0.7036 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.1859, allocations: 12.89 kB / 0.7036 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.186, allocations: 0 / 0.7036 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.186, allocations: 30.56 kB / 0.7036 GB, free: 60 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.186, allocations: 0 / 0.7036 GB, free: 60 kB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.1861, allocations: 45.58 kB / 0.7037 GB, free: 8 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.1862, allocations: 55.53 kB / 0.7037 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.1863, allocations: 89.86 kB / 0.7038 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1863, allocations: 29.7 kB / 0.7038 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1863, allocations: 80.14 kB / 0.7039 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1863, allocations: 0 / 0.7039 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1864, allocations: 9.719 kB / 0.7039 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1865, allocations: 314.8 kB / 0.7042 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1865, allocations: 7.938 kB / 0.7042 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.1865, allocations: 4 kB / 0.7042 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.1866, allocations: 8.859 kB / 0.7042 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1866, allocations: 0 / 0.7042 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.15e-05/0.1866, allocations: 33.69 kB / 0.7043 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1866, allocations: 4 kB / 0.7043 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1866, allocations: 3.938 kB / 0.7043 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1866, allocations: 0 / 0.7043 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.1867, allocations: 4 kB / 0.7043 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1867, allocations: 0 / 0.7043 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.1867, allocations: 8.094 kB / 0.7043 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1867, allocations: 0 / 0.7043 GB, free: 15.31 MB / 0.5294 GB 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.239e-05/0.1868, allocations: 117.8 kB / 0.7044 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-06/0.1868, allocations: 0 / 0.7044 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.1868, allocations: 10.88 kB / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1868, allocations: 0 / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1868, allocations: 0 / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1868, allocations: 7.969 kB / 0.7044 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.938e-05/0.1869, allocations: 116.8 kB / 0.7045 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1869, allocations: 4 kB / 0.7045 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.1869, allocations: 0 / 0.7045 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1869, allocations: 3.938 kB / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1869, allocations: 3.938 kB / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.1869, allocations: 0 / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1869, allocations: 0 / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/0.187, allocations: 61.12 kB / 0.7046 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.187, allocations: 0 / 0.7046 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.187, allocations: 7.969 kB / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.187, allocations: 0 / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.1871, allocations: 7.938 kB / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.1871, allocations: 0 / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.1871, allocations: 75.28 kB / 0.7047 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 0 / 0.7047 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002052/0.1873, allocations: 0 / 0.7047 GB, free: 14.83 MB / 0.5294 GB 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.0003989/0.1877, allocations: 0.5929 MB / 0.7053 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.1878, allocations: 4 kB / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.1878, allocations: 4 kB / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.1878, allocations: 3.938 kB / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1879, allocations: 0 / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.1882, allocations: 108 kB / 0.7054 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1885, allocations: 0.6727 MB / 0.706 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.042e-05/0.1885, allocations: 0 / 0.706 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.1885, allocations: 11.44 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1885, allocations: 0 / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.2169, allocations: 0.9871 MB / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.29, allocations: 9.531 kB / 0.707 GB, free: 12.48 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.103572438005358] Failed to read output from testmodel.py, exit status != 0: 11.414539716904983 11.440595572 11.252111934 Calling exit ...