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.001372/0.001372, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.574/1.574, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001696/0.001696, allocations: 212.6 kB / 309.2 MB, free: 3.133 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.04303/0.04303, allocations: 8.913 MB / 374.6 MB, free: 1.887 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.002882/0.002882, allocations: 81.88 kB / 0.4892 GB, free: 4.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.119, allocations: 55.62 MB / 0.5435 GB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003415/0.1224, allocations: 1.857 MB / 0.5453 GB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1235, allocations: 0.5025 MB / 0.5458 GB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1236, allocations: 0 / 0.5458 GB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1237, allocations: 23.78 kB / 0.5458 GB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.1238, allocations: 31.72 kB / 0.5459 GB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.124, allocations: 27.97 kB / 0.5459 GB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1242, allocations: 119.5 kB / 0.546 GB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1243, allocations: 33.56 kB / 0.546 GB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.1244, allocations: 47.8 kB / 0.5461 GB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1245, allocations: 47.78 kB / 0.5461 GB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1245, allocations: 12 kB / 0.5461 GB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.17e-05/0.1245, allocations: 8 kB / 0.5462 GB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.1246, allocations: 27.86 kB / 0.5462 GB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.1246, allocations: 59.73 kB / 0.5462 GB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1248, allocations: 119.5 kB / 0.5464 GB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1248, allocations: 4 kB / 0.5464 GB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1248, allocations: 0 / 0.5464 GB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1249, allocations: 0 / 0.5464 GB, free: 2.102 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.0005476/0.1254, allocations: 341.8 kB / 0.5467 GB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1254, allocations: 8.031 kB / 0.5467 GB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.1255, allocations: 42.75 kB / 0.5467 GB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1255, allocations: 16.89 kB / 0.5467 GB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1258, allocations: 138.4 kB / 0.5469 GB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1258, allocations: 8.375 kB / 0.5469 GB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1259, allocations: 12.31 kB / 0.5469 GB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1261, allocations: 109.8 kB / 0.547 GB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1261, allocations: 0 / 0.547 GB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1261, allocations: 4 kB / 0.547 GB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1261, allocations: 4 kB / 0.547 GB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1262, allocations: 59.97 kB / 0.5471 GB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.127, allocations: 477.3 kB / 0.5475 GB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.1271, allocations: 42.56 kB / 0.5476 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.1272, allocations: 16.86 kB / 0.5476 GB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1272, allocations: 4 kB / 0.5476 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1272, allocations: 34.56 kB / 0.5476 GB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1272, allocations: 3.938 kB / 0.5476 GB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.1274, allocations: 65.67 kB / 0.5477 GB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1275, allocations: 51.41 kB / 0.5477 GB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1276, allocations: 140.5 kB / 0.5479 GB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1276, allocations: 29.7 kB / 0.5479 GB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.1277, allocations: 120.1 kB / 0.548 GB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1277, allocations: 19.91 kB / 0.548 GB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1277, allocations: 17.72 kB / 0.548 GB, free: 188 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1279, allocations: 326.8 kB / 0.5484 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1279, allocations: 8 kB / 0.5484 GB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.128, allocations: 34.56 kB / 0.5484 GB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.1281, allocations: 54.52 kB / 0.5484 GB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1281, allocations: 3.938 kB / 0.5485 GB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001406/0.1282, allocations: 81.58 kB / 0.5485 GB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1282, allocations: 8 kB / 0.5485 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1282, allocations: 0 / 0.5485 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1283, allocations: 0 / 0.5485 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1284, allocations: 15.98 kB / 0.5486 GB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1284, allocations: 4 kB / 0.5486 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.1284, allocations: 7.891 kB / 0.5486 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1284, allocations: 8.062 kB / 0.5486 GB, free: 15.61 MB / 366.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 9.685e-05/0.1285, allocations: 125.7 kB / 0.5487 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1286, allocations: 7.953 kB / 0.5487 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1286, allocations: 12.33 kB / 0.5487 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1286, allocations: 4 kB / 0.5487 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1286, allocations: 192 / 0.5487 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1286, allocations: 0 / 0.5487 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1288, allocations: 164.6 kB / 0.5489 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1288, allocations: 3.984 kB / 0.5489 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.1289, allocations: 12 kB / 0.5489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1289, allocations: 0 / 0.5489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1289, allocations: 4 kB / 0.5489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1289, allocations: 0 / 0.5489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1289, allocations: 0 / 0.5489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1291, allocations: 175.4 kB / 0.5491 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.1291, allocations: 3.953 kB / 0.5491 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1291, allocations: 4.062 kB / 0.5491 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1292, allocations: 8.062 kB / 0.5491 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1293, allocations: 0 / 0.5491 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1293, allocations: 7.984 kB / 0.5491 GB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1294, allocations: 107.3 kB / 0.5492 GB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1294, allocations: 0 / 0.5492 GB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1297, allocations: 27.83 kB / 0.5492 GB, free: 14.88 MB / 366.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.0005206/0.1302, allocations: 0.7007 MB / 0.5499 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1303, allocations: 27.92 kB / 0.5499 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1303, allocations: 4 kB / 0.5499 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.1304, allocations: 11.94 kB / 0.5499 GB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1307, allocations: 12 kB / 0.5499 GB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1325, allocations: 1.576 MB / 0.5515 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1328, allocations: 0.7 MB / 0.5522 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.1329, allocations: 8.656 kB / 0.5522 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.1329, allocations: 27.44 kB / 0.5522 GB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1329, allocations: 0 / 0.5522 GB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.1639, allocations: 2.174 MB / 0.5543 GB, free: 9.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.29, allocations: 6.875 kB / 0.5543 GB, free: 9.625 MB / 366.1 MB " [Timeout remaining time 649] (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.172840483020991] Failed to read output from testmodel.py, exit status != 0: 11.38960794499144 11.405942225 11.277575544 Calling exit ...