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.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 102.9 kB / 16.4 MB, free: 6.516 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 242.1 MB, free: 15.21 MB / 206.1 MB [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 206.7 kB / 294.4 MB, free: 12.64 MB / 238.1 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04143/0.04143, allocations: 8.788 MB / 355.3 MB, free: 15.89 MB / 302.1 MB [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: 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 0.002489/0.002489, allocations: 75.88 kB / 472.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2837, allocations: 51.56 MB / 0.5119 GB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003823/0.2875, allocations: 2.2 MB / 0.514 GB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.2885, allocations: 0.4913 MB / 0.5145 GB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2886, allocations: 7.469 kB / 0.5145 GB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2888, allocations: 25.72 kB / 0.5145 GB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.2889, allocations: 31.75 kB / 0.5146 GB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2891, allocations: 51.2 kB / 0.5146 GB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.2893, allocations: 166.2 kB / 0.5148 GB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.2895, allocations: 70.08 kB / 0.5149 GB, free: 10.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.2896, allocations: 59.78 kB / 0.5149 GB, free: 9.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2897, allocations: 67.69 kB / 0.515 GB, free: 9.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.2898, allocations: 16 kB / 0.515 GB, free: 9.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.2898, allocations: 12 kB / 0.515 GB, free: 9.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.2898, allocations: 35.8 kB / 0.515 GB, free: 9.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.2899, allocations: 75.61 kB / 0.5151 GB, free: 9.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2902, allocations: 165.9 kB / 0.5153 GB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2902, allocations: 4 kB / 0.5153 GB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2902, allocations: 0 / 0.5153 GB, free: 9.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2902, allocations: 0 / 0.5153 GB, free: 9.598 MB / 334.1 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.000683/0.2909, allocations: 466.6 kB / 0.5157 GB, free: 9.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2909, allocations: 12.03 kB / 0.5157 GB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.291, allocations: 20.83 kB / 0.5157 GB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.2913, allocations: 220 kB / 0.516 GB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2914, allocations: 16.38 kB / 0.516 GB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.2914, allocations: 12.38 kB / 0.516 GB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.2917, allocations: 172.9 kB / 0.5161 GB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2918, allocations: 0 / 0.5161 GB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.2918, allocations: 8 kB / 0.5162 GB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2918, allocations: 4 kB / 0.5162 GB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.292, allocations: 97.58 kB / 0.5163 GB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2931, allocations: 0.7265 MB / 0.517 GB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2933, allocations: 70.61 kB / 0.517 GB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.2934, allocations: 32.84 kB / 0.5171 GB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2934, allocations: 4 kB / 0.5171 GB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2935, allocations: 34.56 kB / 0.5171 GB, free: 7.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.2935, allocations: 0 / 0.5171 GB, free: 7.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003172/0.2938, allocations: 113.7 kB / 0.5172 GB, free: 7.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2938, allocations: 51.41 kB / 0.5173 GB, free: 7.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.294, allocations: 154.4 kB / 0.5174 GB, free: 7.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.294, allocations: 29.7 kB / 0.5174 GB, free: 7.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.2941, allocations: 135.8 kB / 0.5176 GB, free: 7.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.2942, allocations: 31.73 kB / 0.5176 GB, free: 6.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.2942, allocations: 25.72 kB / 0.5176 GB, free: 6.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2944, allocations: 326.8 kB / 0.5179 GB, free: 6.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.2945, allocations: 31.98 kB / 0.518 GB, free: 6.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2946, allocations: 60.28 kB / 0.518 GB, free: 6.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.2948, allocations: 104.1 kB / 0.5181 GB, free: 6.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2948, allocations: 0 / 0.5181 GB, free: 6.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002528/0.2951, allocations: 133.4 kB / 0.5182 GB, free: 6.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2951, allocations: 4 kB / 0.5182 GB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2951, allocations: 4 kB / 0.5182 GB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2951, allocations: 128 / 0.5182 GB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2953, allocations: 27.98 kB / 0.5183 GB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2953, allocations: 7.938 kB / 0.5183 GB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.2954, allocations: 11.88 kB / 0.5183 GB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2954, allocations: 8 kB / 0.5183 GB, free: 6.203 MB / 334.1 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 0.000107/0.2955, allocations: 129.7 kB / 0.5184 GB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2955, allocations: 15.91 kB / 0.5184 GB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2956, allocations: 8.719 kB / 0.5184 GB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2956, allocations: 4 kB / 0.5185 GB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2956, allocations: 4 kB / 0.5185 GB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2956, allocations: 3.938 kB / 0.5185 GB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.2959, allocations: 221.6 kB / 0.5187 GB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2959, allocations: 0 / 0.5187 GB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.296, allocations: 19.98 kB / 0.5187 GB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.296, allocations: 0 / 0.5187 GB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.296, allocations: 0 / 0.5187 GB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.296, allocations: 3.938 kB / 0.5187 GB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.296, allocations: 0 / 0.5187 GB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.2964, allocations: 219.4 kB / 0.5189 GB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.2965, allocations: 85.05 kB / 0.519 GB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2965, allocations: 4.031 kB / 0.519 GB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2966, allocations: 8 kB / 0.519 GB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.2966, allocations: 7.922 kB / 0.519 GB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.2967, allocations: 4 kB / 0.519 GB, free: 5.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.238e-05/0.2968, allocations: 114.1 kB / 0.5191 GB, free: 5.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2968, allocations: 4.062 kB / 0.5191 GB, free: 5.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000259/0.297, allocations: 31.89 kB / 0.5191 GB, free: 5.238 MB / 334.1 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 9.701e-05/0.2971, allocations: 103.2 kB / 0.5192 GB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.2974, allocations: 63.91 kB / 0.5193 GB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2974, allocations: 0 / 0.5193 GB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.2974, allocations: 28 kB / 0.5193 GB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2977, allocations: 34.92 kB / 0.5194 GB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.2984, allocations: 364.7 kB / 0.5197 GB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2988, allocations: 0.7119 MB / 0.5204 GB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.2988, allocations: 8.875 kB / 0.5204 GB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.2989, allocations: 15.44 kB / 0.5204 GB, free: 3.855 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2989, allocations: 0 / 0.5204 GB, free: 3.855 MB / 334.1 MB Notification: Performance of Templates: time 0.003859/0.3027, allocations: 0.9753 MB / 0.5214 GB, free: 2.891 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.668038534000516]