Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.001016/0.001016, allocations: 84.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.8977/0.8977, allocations: 177.2 MB / 200.3 MB, free: 5.359 MB / 186.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.001829/0.001829, allocations: 160.6 kB / 257 MB, free: 12.82 MB / 250.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.03476/0.03476, allocations: 6.667 MB / 266.9 MB, free: 3.066 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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 285.6 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.853e-05, allocations: 9.406 kB / 285.6 MB, free: 352 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.1026/0.1027, allocations: 2.228 MB / 287.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.1035, allocations: 0.5198 MB / 288.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.875e-05/0.1036, allocations: 3.531 kB / 288.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1037, allocations: 29.73 kB / 288.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.1038, allocations: 37.88 kB / 288.5 MB, free: 21.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.1039, allocations: 44.7 kB / 288.5 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1041, allocations: 172.2 kB / 288.7 MB, free: 21.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1042, allocations: 50.55 kB / 288.7 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1043, allocations: 98.03 kB / 288.8 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.1044, allocations: 47.33 kB / 288.9 MB, free: 20.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1044, allocations: 18.41 kB / 288.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.1045, allocations: 13.88 kB / 288.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.1045, allocations: 30.72 kB / 288.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.1045, allocations: 56.73 kB / 289 MB, free: 20.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1047, allocations: 111.9 kB / 289.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1047, allocations: 1 kB / 289.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1047, allocations: 0 / 289.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1047, allocations: 1.75 kB / 289.1 MB, free: 20.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003737/0.1051, allocations: 354.9 kB / 289.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.1051, allocations: 9.375 kB / 289.5 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1052, allocations: 26.14 kB / 289.5 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1053, allocations: 156.1 kB / 289.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1053, allocations: 11.28 kB / 289.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1053, allocations: 15.22 kB / 289.7 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1055, allocations: 175 kB / 289.8 MB, free: 20.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1055, allocations: 3.5 kB / 289.8 MB, free: 20.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1055, allocations: 11.28 kB / 289.8 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1055, allocations: 7.281 kB / 289.8 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.73e-05/0.1056, allocations: 41.3 kB / 289.9 MB, free: 20.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.1061, allocations: 0.5426 MB / 290.4 MB, free: 19.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.1062, allocations: 57.58 kB / 290.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.1062, allocations: 16.97 kB / 290.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.1062, allocations: 3.969 kB / 290.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.1062, allocations: 32.45 kB / 290.5 MB, free: 19.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.1062, allocations: 0 / 290.5 MB, free: 19.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001144/0.1063, allocations: 70.69 kB / 290.6 MB, free: 19.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.546e-05/0.1063, allocations: 52.44 kB / 290.7 MB, free: 19.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.1064, allocations: 153.6 kB / 290.8 MB, free: 19.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.1064, allocations: 27.84 kB / 290.8 MB, free: 19.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1064, allocations: 131 kB / 291 MB, free: 19.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1065, allocations: 30.12 kB / 291 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1065, allocations: 34.42 kB / 291 MB, free: 19.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.953e-05/0.1065, allocations: 325.1 kB / 291.3 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.1065, allocations: 8.859 kB / 291.4 MB, free: 18.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.1066, allocations: 50.72 kB / 291.4 MB, free: 18.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.1066, allocations: 67.56 kB / 291.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1066, allocations: 0 / 291.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.02e-05/0.1067, allocations: 86.83 kB / 291.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1067, allocations: 5.312 kB / 291.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1067, allocations: 2.406 kB / 291.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1067, allocations: 3.188 kB / 291.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.1068, allocations: 23.61 kB / 291.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1068, allocations: 1.953 kB / 291.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.1069, allocations: 12.89 kB / 291.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1069, allocations: 4.703 kB / 291.6 MB, free: 18.83 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.035e-05/0.1069, allocations: 121.6 kB / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1069, allocations: 6.984 kB / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.107, allocations: 16.75 kB / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.107, allocations: 1.125 kB / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.107, allocations: 0 / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.107, allocations: 0.5156 kB / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.1071, allocations: 102.2 kB / 291.8 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1071, allocations: 6.344 kB / 291.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.1071, allocations: 15.94 kB / 291.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1071, allocations: 0 / 291.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1072, allocations: 2.609 kB / 291.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1072, allocations: 0.9375 kB / 291.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1072, allocations: 3.938 kB / 291.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1073, allocations: 168.7 kB / 292 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.1073, allocations: 15.72 kB / 292.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1073, allocations: 2.031 kB / 292.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.1073, allocations: 6.234 kB / 292.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1074, allocations: 9.219 kB / 292.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1074, allocations: 1.219 kB / 292.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.113e-05/0.1074, allocations: 33.72 kB / 292.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1074, allocations: 1.062 kB / 292.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.1076, allocations: 34.92 kB / 292.1 MB, free: 18.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.773e-05/0.1076, allocations: 79.14 kB / 292.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.1077, allocations: 48.41 kB / 292.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1077, allocations: 3.781 kB / 292.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.1077, allocations: 25.89 kB / 292.3 MB, free: 18.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.1079, allocations: 18.08 kB / 292.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.1085, allocations: 333.4 kB / 292.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.1085, allocations: 70.62 kB / 292.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.1086, allocations: 8.875 kB / 292.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.1086, allocations: 63.61 kB / 292.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1086, allocations: 0 / 292.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of Templates: time 0.002972/0.1116, allocations: 0.9561 MB / 293.7 MB, free: 17.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5930408998392522]