Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.0007666/0.0007666, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.878/0.878, allocations: 177.2 MB / 199.4 MB, free: 5.953 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.001432/0.001432, allocations: 156.6 kB / 256 MB, free: 13.36 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.02226/0.02226, allocations: 6.666 MB / 319 MB, free: 26.78 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.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 445.4 MB, free: 37.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.061e-05, allocations: 2.281 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.001609/0.001619, allocations: 1.763 MB / 447.1 MB, free: 35.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000517/0.002136, allocations: 478.7 kB / 447.6 MB, free: 35.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.002211, allocations: 0 / 447.6 MB, free: 35.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.002303, allocations: 23.78 kB / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.002358, allocations: 39.7 kB / 447.7 MB, free: 35.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.002494, allocations: 23.91 kB / 447.7 MB, free: 35.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.002609, allocations: 131.4 kB / 447.8 MB, free: 35.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.002721, allocations: 25.3 kB / 447.9 MB, free: 35.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.002779, allocations: 71.75 kB / 447.9 MB, free: 35.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.00284, allocations: 39.89 kB / 448 MB, free: 35.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.002863, allocations: 8 kB / 448 MB, free: 35.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.002875, allocations: 12 kB / 448 MB, free: 35.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.002894, allocations: 23.91 kB / 448 MB, free: 35.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.002922, allocations: 39.86 kB / 448 MB, free: 34.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003034, allocations: 127.6 kB / 448.2 MB, free: 34.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003036, allocations: 0 / 448.2 MB, free: 34.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003037, allocations: 0 / 448.2 MB, free: 34.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003041, allocations: 0 / 448.2 MB, free: 34.86 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.0003512/0.003392, allocations: 333.9 kB / 448.5 MB, free: 34.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.003434, allocations: 12.03 kB / 448.5 MB, free: 34.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.003464, allocations: 46.69 kB / 448.6 MB, free: 34.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.003491, allocations: 8.891 kB / 448.6 MB, free: 34.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.003637, allocations: 145.5 kB / 448.7 MB, free: 34.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003648, allocations: 12.38 kB / 448.7 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.003667, allocations: 12.38 kB / 448.7 MB, free: 34.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.003796, allocations: 131.9 kB / 448.9 MB, free: 34.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.003803, allocations: 192 / 448.9 MB, free: 34.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.003814, allocations: 8.125 kB / 448.9 MB, free: 34.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.003819, allocations: 4 kB / 448.9 MB, free: 34.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.003889, allocations: 59.97 kB / 448.9 MB, free: 34.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.004329, allocations: 445.8 kB / 449.4 MB, free: 33.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.771e-05/0.004407, allocations: 54.55 kB / 449.4 MB, free: 33.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.00443, allocations: 16.8 kB / 449.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.004439, allocations: 4 kB / 449.4 MB, free: 33.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.004454, allocations: 34.64 kB / 449.5 MB, free: 33.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004455, allocations: 3.938 kB / 449.5 MB, free: 33.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001423/0.004597, allocations: 61.64 kB / 449.5 MB, free: 33.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.004618, allocations: 55.41 kB / 449.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.004683, allocations: 140.6 kB / 449.7 MB, free: 33.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.004691, allocations: 25.7 kB / 449.8 MB, free: 33.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.004731, allocations: 120.2 kB / 449.9 MB, free: 32.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.00474, allocations: 15.84 kB / 449.9 MB, free: 32.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.004766, allocations: 29.66 kB / 449.9 MB, free: 32.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.004795, allocations: 314.8 kB / 450.2 MB, free: 32.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.004814, allocations: 15.98 kB / 450.2 MB, free: 32.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.004842, allocations: 34.56 kB / 450.3 MB, free: 32.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.004889, allocations: 50.5 kB / 450.3 MB, free: 32.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004891, allocations: 0 / 450.3 MB, free: 32.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.274e-05/0.004964, allocations: 93.58 kB / 450.4 MB, free: 32.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.00498, allocations: 8 kB / 450.4 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.004986, allocations: 0 / 450.4 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.005001, allocations: 3.938 kB / 450.4 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.005094, allocations: 15.94 kB / 450.4 MB, free: 32.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.0051, allocations: 4 kB / 450.4 MB, free: 32.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.005138, allocations: 3.984 kB / 450.4 MB, free: 32.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.005144, allocations: 4 kB / 450.4 MB, free: 32.35 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 5.861e-05/0.005202, allocations: 117.8 kB / 450.6 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.005229, allocations: 11.89 kB / 450.6 MB, free: 32.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.005255, allocations: 16.41 kB / 450.6 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005257, allocations: 0 / 450.6 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.005263, allocations: 0 / 450.6 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.005267, allocations: 0 / 450.6 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.005448, allocations: 168.6 kB / 450.8 MB, free: 31.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005449, allocations: 0 / 450.8 MB, free: 31.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.005517, allocations: 8 kB / 450.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005519, allocations: 0 / 450.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.005529, allocations: 0 / 450.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.005531, allocations: 4 kB / 450.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.005533, allocations: 0 / 450.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.005687, allocations: 175.4 kB / 450.9 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.005704, allocations: 7.984 kB / 450.9 MB, free: 31.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.005718, allocations: 0 / 450.9 MB, free: 31.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.005771, allocations: 4 kB / 451 MB, free: 31.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.005789, allocations: 3.984 kB / 451 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.005793, allocations: 0 / 451 MB, free: 31.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.005843, allocations: 117.5 kB / 451.1 MB, free: 31.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005843, allocations: 0 / 451.1 MB, free: 31.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000171/0.006014, allocations: 19.95 kB / 451.1 MB, free: 31.64 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.0002444/0.006258, allocations: 0.7007 MB / 451.8 MB, free: 30.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.00637, allocations: 28.27 kB / 451.8 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.006373, allocations: 0 / 451.8 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.006388, allocations: 15.94 kB / 451.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.006623, allocations: 12 kB / 451.8 MB, free: 30.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.007503, allocations: 1.553 MB / 453.4 MB, free: 29.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.007544, allocations: 84.31 kB / 453.5 MB, free: 29.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.007573, allocations: 8.734 kB / 453.5 MB, free: 29.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.007611, allocations: 28.48 kB / 453.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.007611, allocations: 112 / 453.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.02354, allocations: 2.73 MB / 456.2 MB, free: 26.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.745, allocations: 10.33 kB / 456.3 MB, free: 26.46 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical4_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.56920678075403] Failed to read output from testmodel.py, exit status != 0: 6.824264582246542 6.830804801 6.826518763 Calling exit ...