Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.0007556/0.0007556, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.8928/0.8928, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.001111/0.001111, allocations: 156.6 kB / 256 MB, free: 13.34 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.0236/0.0236, allocations: 6.666 MB / 319 MB, free: 26.77 MB / 266.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: "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.245e-05, allocations: 6.219 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.001593/0.001605, allocations: 1.776 MB / 447.2 MB, free: 35.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005226/0.002128, allocations: 474.7 kB / 447.6 MB, free: 35.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.002192, allocations: 0 / 447.6 MB, free: 35.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.006e-05/0.002282, allocations: 19.8 kB / 447.7 MB, free: 35.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.002329, allocations: 39.66 kB / 447.7 MB, free: 35.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.002444, allocations: 27.89 kB / 447.7 MB, free: 35.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.002555, allocations: 127.4 kB / 447.8 MB, free: 35.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.002663, allocations: 25.28 kB / 447.9 MB, free: 35.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.002717, allocations: 75.75 kB / 447.9 MB, free: 35.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.002779, allocations: 39.89 kB / 448 MB, free: 35.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.002803, allocations: 8 kB / 448 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.002823, allocations: 12 kB / 448 MB, free: 35.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.002843, allocations: 23.91 kB / 448 MB, free: 34.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.002871, allocations: 39.92 kB / 448.1 MB, free: 34.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.00298, allocations: 123.6 kB / 448.2 MB, free: 34.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002982, allocations: 0 / 448.2 MB, free: 34.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002983, allocations: 0 / 448.2 MB, free: 34.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002986, allocations: 0 / 448.2 MB, free: 34.83 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003387/0.003325, allocations: 333.9 kB / 448.5 MB, free: 34.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.003364, allocations: 15.97 kB / 448.5 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.003393, allocations: 46.73 kB / 448.6 MB, free: 34.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.003418, allocations: 8.891 kB / 448.6 MB, free: 34.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.00356, allocations: 149.5 kB / 448.7 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.003569, allocations: 8.375 kB / 448.7 MB, free: 34.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.003587, allocations: 12.38 kB / 448.7 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.003713, allocations: 132.5 kB / 448.9 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003722, allocations: 192 / 448.9 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.003734, allocations: 12.11 kB / 448.9 MB, free: 34.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.003739, allocations: 4 kB / 448.9 MB, free: 34.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.003816, allocations: 55.98 kB / 448.9 MB, free: 33.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.004245, allocations: 445.8 kB / 449.4 MB, free: 33.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.004313, allocations: 54.55 kB / 449.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.004335, allocations: 16.8 kB / 449.5 MB, free: 33.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.004342, allocations: 4 kB / 449.5 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.004356, allocations: 30.56 kB / 449.5 MB, free: 33.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004357, allocations: 3.938 kB / 449.5 MB, free: 33.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001262/0.004483, allocations: 61.73 kB / 449.6 MB, free: 33.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.004499, allocations: 51.41 kB / 449.6 MB, free: 33.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.004558, allocations: 148.6 kB / 449.7 MB, free: 33.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.004564, allocations: 29.7 kB / 449.8 MB, free: 33.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.004597, allocations: 116.2 kB / 449.9 MB, free: 32.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.004605, allocations: 15.84 kB / 449.9 MB, free: 32.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.004631, allocations: 25.67 kB / 449.9 MB, free: 32.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.00466, allocations: 322.8 kB / 450.2 MB, free: 32.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.004678, allocations: 12 kB / 450.3 MB, free: 32.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.004703, allocations: 38.55 kB / 450.3 MB, free: 32.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.004751, allocations: 46.52 kB / 450.3 MB, free: 32.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004753, allocations: 0 / 450.3 MB, free: 32.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.548e-05/0.004818, allocations: 89.52 kB / 450.4 MB, free: 32.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.00483, allocations: 8 kB / 450.4 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004834, allocations: 0 / 450.4 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.004845, allocations: 3.984 kB / 450.4 MB, free: 32.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.004914, allocations: 19.94 kB / 450.5 MB, free: 32.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.00492, allocations: 4 kB / 450.5 MB, free: 32.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.004943, allocations: 0 / 450.5 MB, free: 32.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.004948, allocations: 7.938 kB / 450.5 MB, free: 32.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.116e-05/0.004989, allocations: 113.9 kB / 450.6 MB, free: 32.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.005003, allocations: 15.89 kB / 450.6 MB, free: 32.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.005021, allocations: 12.33 kB / 450.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.005022, allocations: 4 kB / 450.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005025, allocations: 0 / 450.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005028, allocations: 0 / 450.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.255e-05/0.005121, allocations: 164.6 kB / 450.8 MB, free: 31.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005122, allocations: 3.984 kB / 450.8 MB, free: 31.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.00516, allocations: 8 kB / 450.8 MB, free: 31.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.00516, allocations: 0 / 450.8 MB, free: 31.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005166, allocations: 0 / 450.8 MB, free: 31.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005167, allocations: 4 kB / 450.8 MB, free: 31.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005167, allocations: 4 kB / 450.8 MB, free: 31.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.672e-05/0.005264, allocations: 167.6 kB / 451 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.005276, allocations: 11.97 kB / 451 MB, free: 31.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.005288, allocations: 48 / 451 MB, free: 31.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.005333, allocations: 7.984 kB / 451 MB, free: 31.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.005346, allocations: 0 / 451 MB, free: 31.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.00535, allocations: 3.984 kB / 451 MB, free: 31.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.005384, allocations: 111.2 kB / 451.1 MB, free: 31.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005384, allocations: 4 kB / 451.1 MB, free: 31.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.005535, allocations: 20.02 kB / 451.1 MB, free: 31.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.0001573/0.005692, allocations: 0.7007 MB / 451.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.005768, allocations: 24 kB / 451.8 MB, free: 30.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.00577, allocations: 0 / 451.8 MB, free: 30.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.005782, allocations: 19.92 kB / 451.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.005981, allocations: 18.31 kB / 451.9 MB, free: 30.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.006778, allocations: 1.552 MB / 453.4 MB, free: 29.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.006814, allocations: 80.33 kB / 453.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.684e-05/0.006841, allocations: 12.72 kB / 453.5 MB, free: 29.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.006876, allocations: 28.73 kB / 453.5 MB, free: 29.03 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006877, allocations: 3.938 kB / 453.5 MB, free: 29.03 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.02258, allocations: 2.729 MB / 456.3 MB, free: 26.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.635, allocations: 3.984 kB / 456.3 MB, free: 26.42 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical5_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.487416273914278] Failed to read output from testmodel.py, exit status != 0: 6.711994906887412 6.720492577 6.716056607 Calling exit ...