Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.0007541/0.0007541, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.001973, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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 0.9133/0.9133, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1677/1.081, allocations: 53.64 MB / 241.9 MB, free: 2.734 MB / 234.7 MB " [Timeout remaining time 179] 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.000952/0.000952, allocations: 153.6 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002231, allocations: 474 kB / 243.2 MB, free: 1.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0468/0.0468, allocations: 6.657 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004915/0.05172, allocations: 2.662 MB / 253.3 MB, free: 7.562 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 254.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.954e-05, allocations: 9.203 kB / 254.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001047/0.001067, allocations: 0.5637 MB / 255.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 3.955e-05/0.001106, allocations: 19.84 kB / 255.1 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.00112, allocations: 0 / 255.1 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.729e-06/0.001125, allocations: 3.938 kB / 255.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.895e-05/0.001144, allocations: 3.984 kB / 255.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.795e-05/0.001182, allocations: 8 kB / 255.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.646e-05/0.001228, allocations: 15.88 kB / 255.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.00126, allocations: 0 / 255.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.001306, allocations: 11.97 kB / 255.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.001349, allocations: 7.984 kB / 255.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.001366, allocations: 4 kB / 255.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-06/0.001372, allocations: 4 kB / 255.2 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.001382, allocations: 3.938 kB / 255.2 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.001399, allocations: 8 kB / 255.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.364e-05/0.001453, allocations: 7.938 kB / 255.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.001467, allocations: 0 / 255.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.001468, allocations: 0 / 255.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.001482, allocations: 0 / 255.2 MB, free: 5.652 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002868/0.001769, allocations: 228.6 kB / 255.4 MB, free: 5.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.001796, allocations: 8.031 kB / 255.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.001818, allocations: 8.938 kB / 255.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.001891, allocations: 109.7 kB / 255.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.0019, allocations: 384 / 255.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.001918, allocations: 8.312 kB / 255.6 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.701e-05/0.001975, allocations: 38.25 kB / 255.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.00198, allocations: 192 / 255.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-06/0.001985, allocations: 384 / 255.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.001989, allocations: 384 / 255.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.002009, allocations: 15.91 kB / 255.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.551e-05/0.002085, allocations: 57.05 kB / 255.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.002131, allocations: 34.55 kB / 255.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.002146, allocations: 16.86 kB / 255.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-06/0.002151, allocations: 0 / 255.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.00217, allocations: 30.56 kB / 255.7 MB, free: 5.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.002171, allocations: 0 / 255.7 MB, free: 5.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 7.976e-05/0.002251, allocations: 45.72 kB / 255.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.002279, allocations: 51.41 kB / 255.8 MB, free: 4.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.494e-05/0.002323, allocations: 102.7 kB / 255.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.002331, allocations: 25.7 kB / 256 MB, free: 4.758 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.002354, allocations: 88.12 kB / 256 MB, free: 4.668 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.002376, allocations: 7.953 kB / 256.1 MB, free: 4.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.002399, allocations: 17.72 kB / 256.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.002469, allocations: 318.8 kB / 256.4 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-06/0.002475, allocations: 4 kB / 256.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.002482, allocations: 3.984 kB / 256.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.002504, allocations: 12.86 kB / 256.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.002506, allocations: 0 / 256.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.208e-05/0.002548, allocations: 45.62 kB / 256.4 MB, free: 4.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.002558, allocations: 4 kB / 256.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.002563, allocations: 0 / 256.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.002571, allocations: 0.5156 kB / 256.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.002715, allocations: 19.98 kB / 256.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.002718, allocations: 4 kB / 256.5 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.00273, allocations: 7.953 kB / 256.5 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-06/0.002734, allocations: 3.938 kB / 256.5 MB, free: 4.203 MB / 250.7 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 (4): * Single equations (assignments): 4 * 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 4.729e-05/0.002781, allocations: 113.8 kB / 256.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-06/0.002786, allocations: 0 / 256.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.002804, allocations: 11.67 kB / 256.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.002806, allocations: 3.984 kB / 256.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.002808, allocations: 3.938 kB / 256.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.002812, allocations: 4 kB / 256.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.002867, allocations: 65.84 kB / 256.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.002868, allocations: 4 kB / 256.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.002931, allocations: 11.98 kB / 256.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.002937, allocations: 4 kB / 256.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.002939, allocations: 0 / 256.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.002946, allocations: 0 / 256.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.002948, allocations: 3.938 kB / 256.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.002949, allocations: 0 / 256.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.003051, allocations: 73.03 kB / 256.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.00306, allocations: 8 kB / 256.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.003073, allocations: 0 / 256.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.003083, allocations: 4.031 kB / 256.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.003085, allocations: 0 / 256.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.889e-06/0.003095, allocations: 8.859 kB / 256.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003095, allocations: 0 / 256.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.527e-05/0.00318, allocations: 4 kB / 256.8 MB, free: 3.836 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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 6.572e-05/0.003246, allocations: 76.41 kB / 256.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.124e-05/0.003297, allocations: 16.8 kB / 256.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.003301, allocations: 0 / 256.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.003312, allocations: 16.86 kB / 256.9 MB, free: 3.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.924e-05/0.003371, allocations: 15.92 kB / 256.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.003899, allocations: 132.4 kB / 257.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.605e-05/0.003925, allocations: 59.34 kB / 257.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.716e-05/0.003943, allocations: 3.938 kB / 257.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.003988, allocations: 55.39 kB / 257.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.003989, allocations: 0 / 257.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of Templates: time 0.001524/0.005513, allocations: 351.7 kB / 257.5 MB, free: 3.07 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6236944189295173]