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.001227/0.001227, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.475/1.475, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.001493/0.001493, allocations: 219 kB / 310 MB, free: 3.141 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.04126/0.04126, allocations: 8.916 MB / 375.4 MB, free: 6.785 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="cs",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.002269/0.002269, allocations: 79.88 kB / 0.49 GB, free: 44.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.1011, allocations: 55.62 MB / 0.5443 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003253/0.1043, allocations: 1.856 MB / 0.5461 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.1052, allocations: 0.5064 MB / 0.5466 GB, free: 2.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.1053, allocations: 8 kB / 0.5466 GB, free: 2.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1054, allocations: 11.86 kB / 0.5466 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.1055, allocations: 31.7 kB / 0.5466 GB, free: 2.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.1056, allocations: 27.97 kB / 0.5467 GB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1058, allocations: 123.4 kB / 0.5468 GB, free: 2.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1059, allocations: 29.58 kB / 0.5468 GB, free: 2.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.106, allocations: 47.84 kB / 0.5469 GB, free: 2.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.1061, allocations: 51.77 kB / 0.5469 GB, free: 2.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1061, allocations: 12 kB / 0.5469 GB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.1062, allocations: 16 kB / 0.5469 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.1062, allocations: 23.86 kB / 0.547 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.1063, allocations: 55.73 kB / 0.547 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1064, allocations: 123.5 kB / 0.5471 GB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1064, allocations: 0 / 0.5471 GB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1064, allocations: 0 / 0.5471 GB, free: 2.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1064, allocations: 0 / 0.5471 GB, free: 2.289 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.0005367/0.107, allocations: 333.9 kB / 0.5474 GB, free: 1.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.107, allocations: 11.98 kB / 0.5475 GB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.107, allocations: 8.188 kB / 0.5475 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1071, allocations: 46.73 kB / 0.5475 GB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1071, allocations: 12.89 kB / 0.5475 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1074, allocations: 134.4 kB / 0.5476 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1074, allocations: 16.31 kB / 0.5477 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1074, allocations: 12.38 kB / 0.5477 GB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1076, allocations: 105.6 kB / 0.5478 GB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1076, allocations: 0 / 0.5478 GB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1076, allocations: 8 kB / 0.5478 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1076, allocations: 4 kB / 0.5478 GB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1078, allocations: 59.92 kB / 0.5478 GB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.1086, allocations: 469.4 kB / 0.5483 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.1087, allocations: 50.5 kB / 0.5483 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.1087, allocations: 20.84 kB / 0.5484 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1087, allocations: 3.938 kB / 0.5484 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1087, allocations: 38.64 kB / 0.5484 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1087, allocations: 0 / 0.5484 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.1089, allocations: 61.64 kB / 0.5485 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.109, allocations: 51.41 kB / 0.5485 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1091, allocations: 141.8 kB / 0.5486 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1091, allocations: 29.7 kB / 0.5487 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.1092, allocations: 120.1 kB / 0.5488 GB, free: 412 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1092, allocations: 15.89 kB / 0.5488 GB, free: 396 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.1093, allocations: 17.72 kB / 0.5488 GB, free: 372 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1094, allocations: 326.8 kB / 0.5491 GB, free: 36 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.1095, allocations: 8 kB / 0.5491 GB, free: 28 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.1095, allocations: 46.5 kB / 0.5492 GB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/0.1096, allocations: 42.58 kB / 0.5492 GB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1096, allocations: 0 / 0.5492 GB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001314/0.1097, allocations: 77.58 kB / 0.5493 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1098, allocations: 10.81 kB / 0.5493 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1098, allocations: 0 / 0.5493 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1098, allocations: 0 / 0.5493 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1099, allocations: 20 kB / 0.5493 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1099, allocations: 7.984 kB / 0.5493 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.1099, allocations: 7.891 kB / 0.5493 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.11, allocations: 8 kB / 0.5493 GB, free: 15.79 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 9.823e-05/0.1101, allocations: 117.8 kB / 0.5495 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1101, allocations: 7.953 kB / 0.5495 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.1101, allocations: 8.344 kB / 0.5495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1101, allocations: 7.938 kB / 0.5495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1101, allocations: 4 kB / 0.5495 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1101, allocations: 0 / 0.5495 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1103, allocations: 168.6 kB / 0.5496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1103, allocations: 4.062 kB / 0.5496 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.1104, allocations: 12 kB / 0.5497 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1104, allocations: 0 / 0.5497 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1104, allocations: 3.984 kB / 0.5497 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1104, allocations: 3.938 kB / 0.5497 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1104, allocations: 0 / 0.5497 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1106, allocations: 171.5 kB / 0.5498 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.1106, allocations: 3.953 kB / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1107, allocations: 0 / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.1107, allocations: 7.984 kB / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.1108, allocations: 3.938 kB / 0.5498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1108, allocations: 4 kB / 0.5499 GB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1109, allocations: 107.3 kB / 0.55 GB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1109, allocations: 0 / 0.55 GB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1111, allocations: 19.95 kB / 0.55 GB, free: 15.07 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.0004787/0.1116, allocations: 0.7085 MB / 0.5507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1117, allocations: 31.92 kB / 0.5507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1117, allocations: 4 kB / 0.5507 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.1117, allocations: 4 kB / 0.5507 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.112, allocations: 20.55 kB / 0.5507 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1137, allocations: 1.573 MB / 0.5523 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.114, allocations: 0.7039 MB / 0.5529 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.1141, allocations: 8.672 kB / 0.553 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1141, allocations: 27.42 kB / 0.553 GB, free: 11.85 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1141, allocations: 0 / 0.553 GB, free: 11.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1369, allocations: 2.199 MB / 0.5551 GB, free: 9.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/11.95, allocations: 15.92 kB / 0.5551 GB, free: 9.766 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.92101944098249] Failed to read output from testmodel.py, exit status != 0: 12.10963168903254 12.409890376 12.300580105 Calling exit ...