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.001468/0.001468, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.424/1.424, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.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.001603/0.001603, allocations: 206.1 kB / 309.2 MB, free: 3.168 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.04244/0.04244, allocations: 8.923 MB / 374.6 MB, free: 6.602 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: "" <> 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: 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.002611/0.002611, allocations: 91.83 kB / 0.4891 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1086, allocations: 55.61 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.00351/0.1121, allocations: 1.766 MB / 0.5452 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.1131, allocations: 474.8 kB / 0.5456 GB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.1131, allocations: 4 kB / 0.5456 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1133, allocations: 15.86 kB / 0.5456 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.1134, allocations: 35.69 kB / 0.5457 GB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1135, allocations: 23.97 kB / 0.5457 GB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1138, allocations: 127.4 kB / 0.5458 GB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1139, allocations: 37.44 kB / 0.5459 GB, free: 2.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.114, allocations: 43.86 kB / 0.5459 GB, free: 2.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1141, allocations: 43.78 kB / 0.5459 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1141, allocations: 15.94 kB / 0.546 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.1141, allocations: 12 kB / 0.546 GB, free: 2.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.1142, allocations: 19.92 kB / 0.546 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.475e-05/0.1143, allocations: 51.73 kB / 0.546 GB, free: 2.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1145, allocations: 119.5 kB / 0.5462 GB, free: 2.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1145, allocations: 0 / 0.5462 GB, free: 2.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1145, allocations: 0 / 0.5462 GB, free: 2.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1145, allocations: 0 / 0.5462 GB, free: 2.285 MB / 366.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.0006361/0.1151, allocations: 341.8 kB / 0.5465 GB, free: 1.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1152, allocations: 15.98 kB / 0.5465 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.31e-05/0.1152, allocations: 46.75 kB / 0.5465 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1153, allocations: 8.891 kB / 0.5465 GB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1155, allocations: 146.3 kB / 0.5467 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1156, allocations: 8.375 kB / 0.5467 GB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.1156, allocations: 12.38 kB / 0.5467 GB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1158, allocations: 127.5 kB / 0.5468 GB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1158, allocations: 0 / 0.5468 GB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1159, allocations: 4 kB / 0.5468 GB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1159, allocations: 4 kB / 0.5468 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.116, allocations: 63.97 kB / 0.5469 GB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.1168, allocations: 441.4 kB / 0.5473 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1169, allocations: 54.55 kB / 0.5474 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.117, allocations: 12.86 kB / 0.5474 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.117, allocations: 4 kB / 0.5474 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.117, allocations: 34.5 kB / 0.5474 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.117, allocations: 7.938 kB / 0.5474 GB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002113/0.1172, allocations: 65.72 kB / 0.5475 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1173, allocations: 55.41 kB / 0.5475 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1174, allocations: 138.8 kB / 0.5477 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1174, allocations: 25.7 kB / 0.5477 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1176, allocations: 120.1 kB / 0.5478 GB, free: 404 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1176, allocations: 11.91 kB / 0.5478 GB, free: 392 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1176, allocations: 29.66 kB / 0.5479 GB, free: 356 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1178, allocations: 318.8 kB / 0.5482 GB, free: 28 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.1178, allocations: 15.98 kB / 0.5482 GB, free: 12 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1179, allocations: 42.58 kB / 0.5482 GB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.1179, allocations: 46.56 kB / 0.5483 GB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1179, allocations: 0 / 0.5483 GB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.1181, allocations: 81.52 kB / 0.5483 GB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1181, allocations: 8 kB / 0.5483 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1181, allocations: 0 / 0.5483 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1181, allocations: 0 / 0.5483 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1182, allocations: 20.12 kB / 0.5484 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1182, allocations: 8.062 kB / 0.5484 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1183, allocations: 3.938 kB / 0.5484 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1183, allocations: 4 kB / 0.5484 GB, free: 15.77 MB / 382.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.0001183/0.1184, allocations: 125.7 kB / 0.5485 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1184, allocations: 11.94 kB / 0.5485 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.1185, allocations: 12.34 kB / 0.5485 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1185, allocations: 0 / 0.5485 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1185, allocations: 64 / 0.5485 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1185, allocations: 4 kB / 0.5485 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1187, allocations: 164.7 kB / 0.5487 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1187, allocations: 0 / 0.5487 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.1188, allocations: 12 kB / 0.5487 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1188, allocations: 0 / 0.5487 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1188, allocations: 0 / 0.5487 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1188, allocations: 4 kB / 0.5487 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1188, allocations: 0 / 0.5487 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.119, allocations: 171.4 kB / 0.5489 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.119, allocations: 7.984 kB / 0.5489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.119, allocations: 3.938 kB / 0.5489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.1191, allocations: 4 kB / 0.5489 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.1191, allocations: 7.984 kB / 0.5489 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1191, allocations: 4.062 kB / 0.5489 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.1192, allocations: 109.5 kB / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1192, allocations: 0 / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1195, allocations: 23.89 kB / 0.549 GB, free: 15.05 MB / 382.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.000528/0.12, allocations: 0.7007 MB / 0.5497 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1201, allocations: 27.98 kB / 0.5497 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1201, allocations: 3.938 kB / 0.5497 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.1201, allocations: 8 kB / 0.5497 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1204, allocations: 16.19 kB / 0.5498 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1224, allocations: 1.579 MB / 0.5513 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.1225, allocations: 92.05 kB / 0.5514 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.07e-05/0.1225, allocations: 8.656 kB / 0.5514 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.1226, allocations: 23.44 kB / 0.5514 GB, free: 12.46 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1226, allocations: 0 / 0.5514 GB, free: 12.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.1628, allocations: 2.586 MB / 0.5539 GB, free: 9.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.44, allocations: 6.875 kB / 0.5539 GB, free: 9.984 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.32891551591456] Failed to read output from testmodel.py, exit status != 0: 11.546357159968466 11.808837555 11.691385894 Calling exit ...