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.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.00124/0.00124, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.366/1.366, allocations: 225.6 MB / 245.5 MB, free: 14.15 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.001448/0.001448, allocations: 207.5 kB / 300.5 MB, free: 9.805 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.05559/0.05559, allocations: 8.927 MB / 364.3 MB, free: 10.16 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.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 0.002381/0.002381, allocations: 87.88 kB / 487.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2373, allocations: 54.39 MB / 0.5289 GB, free: 30.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001394/0.2387, allocations: 0.4886 MB / 0.5294 GB, free: 30.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.2388, allocations: 22.16 kB / 0.5294 GB, free: 30.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.2388, allocations: 0 / 0.5294 GB, free: 30.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2388, allocations: 0 / 0.5294 GB, free: 30.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.2389, allocations: 7.875 kB / 0.5294 GB, free: 30.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.948e-05/0.239, allocations: 3.562 kB / 0.5294 GB, free: 30.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.143e-05/0.239, allocations: 10.28 kB / 0.5294 GB, free: 30.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.2391, allocations: 4 kB / 0.5294 GB, free: 30.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.2391, allocations: 7.094 kB / 0.5294 GB, free: 30.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.2391, allocations: 3.375 kB / 0.5295 GB, free: 30.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2391, allocations: 3.188 kB / 0.5295 GB, free: 30.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-06/0.2391, allocations: 0 / 0.5295 GB, free: 30.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.2392, allocations: 0 / 0.5295 GB, free: 30.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.2392, allocations: 11.16 kB / 0.5295 GB, free: 30.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.563e-05/0.2392, allocations: 11.34 kB / 0.5295 GB, free: 30.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2392, allocations: 0 / 0.5295 GB, free: 30.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2392, allocations: 3.156 kB / 0.5295 GB, free: 30.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2392, allocations: 4 kB / 0.5295 GB, free: 30.21 MB / 382.1 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.0002734/0.2395, allocations: 327.8 kB / 0.5298 GB, free: 29.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.2395, allocations: 9.094 kB / 0.5298 GB, free: 29.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.2396, allocations: 3.969 kB / 0.5298 GB, free: 29.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.086e-05/0.2396, allocations: 171.8 kB / 0.53 GB, free: 29.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2396, allocations: 384 / 0.53 GB, free: 29.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2396, allocations: 3.25 kB / 0.53 GB, free: 29.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.3e-05/0.2397, allocations: 32.86 kB / 0.53 GB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2397, allocations: 2.844 kB / 0.53 GB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2397, allocations: 7.938 kB / 0.53 GB, free: 29.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2397, allocations: 0 / 0.53 GB, free: 29.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.2398, allocations: 6.422 kB / 0.53 GB, free: 29.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.2399, allocations: 158.5 kB / 0.5302 GB, free: 29.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.2399, allocations: 39.7 kB / 0.5302 GB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.2399, allocations: 14.73 kB / 0.5302 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.24, allocations: 0 / 0.5302 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.24, allocations: 34.56 kB / 0.5303 GB, free: 29.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.24, allocations: 0 / 0.5303 GB, free: 29.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000117/0.2401, allocations: 51.98 kB / 0.5303 GB, free: 29.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.2401, allocations: 51.41 kB / 0.5304 GB, free: 29.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.9e-05/0.2402, allocations: 104.3 kB / 0.5305 GB, free: 29.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.2402, allocations: 25.7 kB / 0.5305 GB, free: 29.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.579e-05/0.2402, allocations: 83.08 kB / 0.5306 GB, free: 29.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2402, allocations: 11.91 kB / 0.5306 GB, free: 29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.2402, allocations: 20.16 kB / 0.5306 GB, free: 28.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.228e-05/0.2402, allocations: 317.8 kB / 0.5309 GB, free: 28.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.2403, allocations: 3 kB / 0.5309 GB, free: 28.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.2403, allocations: 10.62 kB / 0.5309 GB, free: 28.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.2403, allocations: 21.7 kB / 0.5309 GB, free: 28.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2403, allocations: 3.938 kB / 0.5309 GB, free: 28.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.442e-05/0.2404, allocations: 49 kB / 0.531 GB, free: 28.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.2404, allocations: 5.844 kB / 0.531 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2404, allocations: 7.938 kB / 0.531 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2404, allocations: 3.938 kB / 0.531 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.2405, allocations: 8.875 kB / 0.531 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2405, allocations: 0 / 0.531 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.2405, allocations: 7.453 kB / 0.531 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.2405, allocations: 0 / 0.531 GB, free: 28.59 MB / 382.1 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 3.273e-05/0.2405, allocations: 108.8 kB / 0.5311 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.2405, allocations: 0 / 0.5311 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.2405, allocations: 14.69 kB / 0.5311 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2405, allocations: 4 kB / 0.5311 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2405, allocations: 0 / 0.5311 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2405, allocations: 0 / 0.5311 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.106e-05/0.2406, allocations: 155.1 kB / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2406, allocations: 0 / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.2407, allocations: 9.312 kB / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2407, allocations: 0 / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.2407, allocations: 3.938 kB / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2407, allocations: 3 kB / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2407, allocations: 0 / 0.5313 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.771e-05/0.2408, allocations: 83.41 kB / 0.5314 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.2408, allocations: 83.7 kB / 0.5315 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2408, allocations: 3.938 kB / 0.5315 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.2408, allocations: 0 / 0.5315 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.2408, allocations: 0 / 0.5315 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2408, allocations: 7.281 kB / 0.5315 GB, free: 28.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.453e-05/0.2408, allocations: 75.28 kB / 0.5315 GB, free: 28 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2408, allocations: 0 / 0.5315 GB, free: 28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001712/0.241, allocations: 7.438 kB / 0.5315 GB, free: 28 MB / 382.1 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 5.122e-05/0.2411, allocations: 99.5 kB / 0.5316 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.417e-05/0.2411, allocations: 14.03 kB / 0.5317 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2411, allocations: 0 / 0.5317 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.2411, allocations: 14.5 kB / 0.5317 GB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.2413, allocations: 5.344 kB / 0.5317 GB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.2414, allocations: 134.3 kB / 0.5318 GB, free: 27.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.2415, allocations: 0.6867 MB / 0.5325 GB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.2415, allocations: 7.438 kB / 0.5325 GB, free: 27.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2415, allocations: 0 / 0.5325 GB, free: 27.04 MB / 382.1 MB Notification: Performance of Templates: time 0.001558/0.2431, allocations: 492.3 kB / 0.5329 GB, free: 27.01 MB / 382.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.741828399011865] Failed to read output from testmodel.py, exit status != 0: 0.249646628042683 0.25747951399999996 0.016313378 Calling exit ...