Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.0006734/0.0006734, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000891/0.001564, allocations: 435.8 kB / 10.33 MB, free: 368 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.9894/0.9894, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1717/1.161, allocations: 53.64 MB / 241.9 MB, free: 2.727 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.0007436/0.0007436, allocations: 143.8 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009467/0.00169, allocations: 482.5 kB / 243.2 MB, free: 1.414 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.03921/0.03921, allocations: 6.656 MB / 250.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00498/0.04419, allocations: 2.67 MB / 253.3 MB, free: 7.547 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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.05e-05, allocations: 8.781 kB / 254.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00169/0.00171, allocations: 0.5402 MB / 255.1 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 5.087e-05/0.001761, allocations: 31.83 kB / 255.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.001778, allocations: 0 / 255.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.46e-06/0.001783, allocations: 3.938 kB / 255.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.004e-06/0.00179, allocations: 0 / 255.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.951e-05/0.00183, allocations: 0 / 255.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.00188, allocations: 11.98 kB / 255.1 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.001917, allocations: 7.938 kB / 255.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.001961, allocations: 8 kB / 255.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.00201, allocations: 3.984 kB / 255.1 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.002028, allocations: 4 kB / 255.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.002034, allocations: 0 / 255.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.002044, allocations: 0 / 255.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.002062, allocations: 7.938 kB / 255.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.296e-05/0.002114, allocations: 3.984 kB / 255.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.002127, allocations: 0 / 255.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002127, allocations: 4 kB / 255.2 MB, free: 5.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.002138, allocations: 4 kB / 255.2 MB, free: 5.668 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.0002775/0.002416, allocations: 220.7 kB / 255.4 MB, free: 5.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.002444, allocations: 8.031 kB / 255.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.002466, allocations: 0.9375 kB / 255.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.469e-05/0.002541, allocations: 121.7 kB / 255.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.002549, allocations: 384 / 255.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.002568, allocations: 4.375 kB / 255.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.002629, allocations: 34.25 kB / 255.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.002635, allocations: 192 / 255.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.002642, allocations: 4.359 kB / 255.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.002646, allocations: 4.375 kB / 255.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.002666, allocations: 7.938 kB / 255.6 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.386e-05/0.00276, allocations: 64.98 kB / 255.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.002806, allocations: 38.53 kB / 255.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.002821, allocations: 8.859 kB / 255.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-06/0.002827, allocations: 0 / 255.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.002845, allocations: 30.56 kB / 255.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.002845, allocations: 0 / 255.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 8.521e-05/0.002931, allocations: 45.72 kB / 255.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.00296, allocations: 55.34 kB / 255.8 MB, free: 4.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.003009, allocations: 106.7 kB / 255.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.003018, allocations: 29.69 kB / 255.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.003039, allocations: 84.12 kB / 256 MB, free: 4.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.003063, allocations: 7.953 kB / 256 MB, free: 4.676 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.00309, allocations: 13.72 kB / 256 MB, free: 4.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.003175, allocations: 314.8 kB / 256.4 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-06/0.003183, allocations: 7.984 kB / 256.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/0.00319, allocations: 4 kB / 256.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.003215, allocations: 16.84 kB / 256.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.003217, allocations: 0 / 256.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.045e-05/0.003258, allocations: 41.69 kB / 256.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.003269, allocations: 11.94 kB / 256.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.003273, allocations: 0 / 256.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.00328, allocations: 0 / 256.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.003423, allocations: 16.5 kB / 256.4 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.003427, allocations: 4 kB / 256.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.003436, allocations: 3.953 kB / 256.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-06/0.003439, allocations: 3.938 kB / 256.5 MB, free: 4.223 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.966e-05/0.003489, allocations: 105.8 kB / 256.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-06/0.003495, allocations: 7.984 kB / 256.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.003513, allocations: 11.69 kB / 256.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.003515, allocations: 3.984 kB / 256.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.003516, allocations: 0 / 256.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.003519, allocations: 0 / 256.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.361e-05/0.003573, allocations: 69.84 kB / 256.7 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.003575, allocations: 0 / 256.7 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.003631, allocations: 11.98 kB / 256.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-06/0.003636, allocations: 0 / 256.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.003638, allocations: 4 kB / 256.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.003645, allocations: 0 / 256.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003645, allocations: 0 / 256.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.003646, allocations: 4 kB / 256.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.901e-05/0.003725, allocations: 76.98 kB / 256.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.003733, allocations: 4 kB / 256.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-06/0.00374, allocations: 3.938 kB / 256.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.003748, allocations: 0 / 256.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.003749, allocations: 0 / 256.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.767e-06/0.003758, allocations: 12.84 kB / 256.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003758, allocations: 0 / 256.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.782e-05/0.003846, allocations: 4 kB / 256.8 MB, free: 3.859 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.163e-05/0.003908, allocations: 80.44 kB / 256.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.47e-05/0.003962, allocations: 20.8 kB / 256.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.003967, allocations: 0 / 256.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.003976, allocations: 12.84 kB / 256.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.249e-05/0.004039, allocations: 7.938 kB / 256.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.004207, allocations: 116.4 kB / 257 MB, free: 3.586 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.004238, allocations: 55.36 kB / 257.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.004255, allocations: 0 / 257.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.004286, allocations: 51.38 kB / 257.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.004286, allocations: 0 / 257.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of Templates: time 0.001798/0.006084, allocations: 348.3 kB / 257.4 MB, free: 3.125 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5185575326904655]