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.001464/0.001464, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.549/1.549, allocations: 177.2 MB / 200.1 MB, free: 8.5 MB / 190.1 MB " [Timeout remaining time 178] 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.001582/0.001582, allocations: 167.7 kB / 256.6 MB, free: 4.316 MB / 238.1 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.03844/0.03844, allocations: 6.667 MB / 319.6 MB, free: 5.395 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.003701/0.003701, allocations: 83.88 kB / 446.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1315, allocations: 55.59 MB / 0.4902 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004678/0.1361, allocations: 2.141 MB / 0.4923 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1375, allocations: 0.5026 MB / 0.4928 GB, free: 84 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1377, allocations: 4 kB / 0.4928 GB, free: 80 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.1378, allocations: 27.72 kB / 0.4929 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.138, allocations: 39.64 kB / 0.4929 GB, free: 12 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1382, allocations: 44.03 kB / 0.4929 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1385, allocations: 163.4 kB / 0.4931 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1387, allocations: 46.2 kB / 0.4931 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1388, allocations: 59.78 kB / 0.4932 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.139, allocations: 63.64 kB / 0.4933 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.139, allocations: 15.94 kB / 0.4933 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.139, allocations: 16 kB / 0.4933 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1391, allocations: 31.91 kB / 0.4933 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.1392, allocations: 63.66 kB / 0.4934 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1395, allocations: 171.3 kB / 0.4935 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1395, allocations: 4 kB / 0.4935 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1395, allocations: 0 / 0.4935 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1395, allocations: 0 / 0.4935 GB, free: 15.35 MB / 430.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.000771/0.1403, allocations: 381.6 kB / 0.4939 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1403, allocations: 15.98 kB / 0.4939 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1404, allocations: 20.8 kB / 0.4939 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1408, allocations: 154.3 kB / 0.4941 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1408, allocations: 16.38 kB / 0.4941 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.1408, allocations: 20.38 kB / 0.4941 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.1412, allocations: 199.5 kB / 0.4943 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1412, allocations: 0 / 0.4943 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1412, allocations: 8 kB / 0.4943 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1412, allocations: 4 kB / 0.4943 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.1415, allocations: 92.73 kB / 0.4944 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.1425, allocations: 0.6367 MB / 0.495 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1427, allocations: 62.62 kB / 0.4951 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.1428, allocations: 40.83 kB / 0.4951 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.1428, allocations: 0 / 0.4951 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1428, allocations: 34.56 kB / 0.4952 GB, free: 13.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1429, allocations: 0 / 0.4952 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003226/0.1432, allocations: 109.7 kB / 0.4953 GB, free: 13.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1432, allocations: 51.41 kB / 0.4953 GB, free: 13.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1434, allocations: 161.7 kB / 0.4955 GB, free: 13.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1434, allocations: 25.7 kB / 0.4955 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1435, allocations: 135.8 kB / 0.4956 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1435, allocations: 27.75 kB / 0.4957 GB, free: 13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.1436, allocations: 33.7 kB / 0.4957 GB, free: 12.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1438, allocations: 322.8 kB / 0.496 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.1438, allocations: 23.98 kB / 0.496 GB, free: 12.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.1439, allocations: 68.16 kB / 0.4961 GB, free: 12.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1441, allocations: 96.22 kB / 0.4962 GB, free: 12.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1441, allocations: 0 / 0.4962 GB, free: 12.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002461/0.1444, allocations: 125.4 kB / 0.4963 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1444, allocations: 8 kB / 0.4963 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1444, allocations: 128 / 0.4963 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1444, allocations: 8 kB / 0.4963 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1446, allocations: 27.98 kB / 0.4963 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1446, allocations: 7.875 kB / 0.4963 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.1447, allocations: 11.89 kB / 0.4964 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1447, allocations: 4 kB / 0.4964 GB, free: 12.22 MB / 430.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.0001179/0.1448, allocations: 121.8 kB / 0.4965 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1448, allocations: 7.953 kB / 0.4965 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.1449, allocations: 20.77 kB / 0.4965 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1449, allocations: 0 / 0.4965 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1449, allocations: 7.938 kB / 0.4965 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1449, allocations: 0 / 0.4965 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1451, allocations: 153.2 kB / 0.4967 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1451, allocations: 0 / 0.4967 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1452, allocations: 16 kB / 0.4967 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1452, allocations: 7.922 kB / 0.4967 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1452, allocations: 0 / 0.4967 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1452, allocations: 4.312 kB / 0.4967 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1452, allocations: 0 / 0.4967 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.1456, allocations: 215.4 kB / 0.4969 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1456, allocations: 16.03 kB / 0.4969 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1456, allocations: 0 / 0.4969 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1457, allocations: 8 kB / 0.4969 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1457, allocations: 7.984 kB / 0.4969 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.1458, allocations: 3.938 kB / 0.4969 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1459, allocations: 115.2 kB / 0.497 GB, free: 11.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1459, allocations: 0 / 0.497 GB, free: 11.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1461, allocations: 31.89 kB / 0.4971 GB, free: 11.45 MB / 430.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 0.0001049/0.1462, allocations: 99.19 kB / 0.4972 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1465, allocations: 63.91 kB / 0.4972 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1465, allocations: 0 / 0.4972 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.1465, allocations: 27.92 kB / 0.4972 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1468, allocations: 16.28 kB / 0.4973 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.1477, allocations: 381.1 kB / 0.4976 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.1478, allocations: 106.7 kB / 0.4977 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.1478, allocations: 12.48 kB / 0.4977 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1479, allocations: 12.5 kB / 0.4978 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1479, allocations: 0 / 0.4978 GB, free: 10.69 MB / 430.1 MB Notification: Performance of Templates: time 0.004265/0.1521, allocations: 0.8751 MB / 0.4986 GB, free: 9.832 MB / 430.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.012979277060367] Failed to read output from testmodel.py, exit status != 0: 0.16232328303158283 0.363359015 0.221192459 Calling exit ...