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.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.001796/0.001796, allocations: 111.7 kB / 16.46 MB, free: 6.035 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.467/1.467, allocations: 225.6 MB / 244.8 MB, free: 14.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.0015/0.0015, allocations: 197.6 kB / 299.8 MB, free: 9.832 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.04141/0.04141, allocations: 8.944 MB / 363.7 MB, free: 10.18 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: "" <> 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 0.002388/0.002388, allocations: 85.59 kB / 486 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1059, allocations: 54.42 MB / 0.5278 GB, free: 1.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003278/0.1091, allocations: 1.81 MB / 0.5296 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.1099, allocations: 463.7 kB / 0.53 GB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.11, allocations: 4 kB / 0.53 GB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1101, allocations: 15.8 kB / 0.53 GB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.1102, allocations: 35.7 kB / 0.5301 GB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.1104, allocations: 27.97 kB / 0.5301 GB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1106, allocations: 119.5 kB / 0.5302 GB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1107, allocations: 40.59 kB / 0.5302 GB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.1108, allocations: 47.8 kB / 0.5303 GB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1109, allocations: 55.77 kB / 0.5303 GB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.1109, allocations: 8 kB / 0.5303 GB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.1109, allocations: 12 kB / 0.5304 GB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.1109, allocations: 19.92 kB / 0.5304 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.111, allocations: 55.73 kB / 0.5304 GB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1112, allocations: 120.2 kB / 0.5305 GB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1112, allocations: 4 kB / 0.5305 GB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1112, allocations: 0 / 0.5305 GB, free: 14.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1112, allocations: 0 / 0.5305 GB, free: 14.55 MB / 350.1 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.0005954/0.1118, allocations: 411 kB / 0.5309 GB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1118, allocations: 8.031 kB / 0.5309 GB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.1119, allocations: 50.67 kB / 0.531 GB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1119, allocations: 16.84 kB / 0.531 GB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1122, allocations: 200.1 kB / 0.5312 GB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1122, allocations: 12.38 kB / 0.5312 GB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1122, allocations: 12.38 kB / 0.5312 GB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1125, allocations: 109.7 kB / 0.5313 GB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1125, allocations: 0 / 0.5313 GB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1125, allocations: 8 kB / 0.5313 GB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1125, allocations: 3.984 kB / 0.5313 GB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1126, allocations: 59.97 kB / 0.5314 GB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.1134, allocations: 0.4944 MB / 0.5319 GB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.1135, allocations: 46.5 kB / 0.5319 GB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.1135, allocations: 12.86 kB / 0.5319 GB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.1136, allocations: 4 kB / 0.5319 GB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.1136, allocations: 34.56 kB / 0.532 GB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1136, allocations: 0 / 0.532 GB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001753/0.1138, allocations: 65.67 kB / 0.532 GB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1138, allocations: 51.41 kB / 0.5321 GB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.114, allocations: 141.8 kB / 0.5322 GB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.114, allocations: 25.7 kB / 0.5322 GB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.1141, allocations: 124.1 kB / 0.5324 GB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1141, allocations: 15.84 kB / 0.5324 GB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1141, allocations: 17.72 kB / 0.5324 GB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1143, allocations: 330.8 kB / 0.5327 GB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.1143, allocations: 12 kB / 0.5327 GB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.865e-05/0.1144, allocations: 34.55 kB / 0.5328 GB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.1144, allocations: 46.52 kB / 0.5328 GB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1144, allocations: 0 / 0.5328 GB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001283/0.1146, allocations: 93.58 kB / 0.5329 GB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1146, allocations: 4 kB / 0.5329 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1146, allocations: 0 / 0.5329 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1146, allocations: 3.984 kB / 0.5329 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.1147, allocations: 16 kB / 0.5329 GB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1147, allocations: 0 / 0.5329 GB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1147, allocations: 7.953 kB / 0.5329 GB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1148, allocations: 0 / 0.5329 GB, free: 11.86 MB / 350.1 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 0.0001152/0.1149, allocations: 133.7 kB / 0.533 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1149, allocations: 7.953 kB / 0.5331 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.1149, allocations: 20.11 kB / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1149, allocations: 0 / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1149, allocations: 0 / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1149, allocations: 0 / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1152, allocations: 201.5 kB / 0.5333 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1152, allocations: 0 / 0.5333 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.1152, allocations: 8 kB / 0.5333 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1152, allocations: 0 / 0.5333 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1152, allocations: 4 kB / 0.5333 GB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1152, allocations: 4 kB / 0.5333 GB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1152, allocations: 0 / 0.5333 GB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1154, allocations: 167.4 kB / 0.5334 GB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1155, allocations: 85.06 kB / 0.5335 GB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1155, allocations: 7.969 kB / 0.5335 GB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.1156, allocations: 240 / 0.5335 GB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.1156, allocations: 7.984 kB / 0.5335 GB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.1156, allocations: 4.062 kB / 0.5335 GB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.1157, allocations: 110.1 kB / 0.5336 GB, free: 11.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1157, allocations: 0 / 0.5336 GB, free: 11.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1159, allocations: 20 kB / 0.5337 GB, free: 10.99 MB / 350.1 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.0005102/0.1164, allocations: 0.6929 MB / 0.5343 GB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1166, allocations: 43.98 kB / 0.5344 GB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1166, allocations: 0 / 0.5344 GB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.1166, allocations: 12 kB / 0.5344 GB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1168, allocations: 8.188 kB / 0.5344 GB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1186, allocations: 1.572 MB / 0.5359 GB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.119, allocations: 0.708 MB / 0.5366 GB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.119, allocations: 8.656 kB / 0.5366 GB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.1191, allocations: 27.44 kB / 0.5367 GB, free: 7.777 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1191, allocations: 0 / 0.5367 GB, free: 7.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1464, allocations: 2.029 MB / 0.5386 GB, free: 5.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/7.997, allocations: 7.906 kB / 0.5386 GB, free: 5.816 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.8041677698493] Failed to read output from testmodel.py, exit status != 0: 8.229732580948621 8.078086994 7.964152452 Calling exit ...