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.001318/0.001318, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.466/1.466, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001543/0.001543, allocations: 212.1 kB / 310 MB, free: 3.102 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.04093/0.04093, allocations: 8.914 MB / 375.4 MB, free: 6.789 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.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",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.002685/0.002685, allocations: 79.89 kB / 0.49 GB, free: 44.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09983, allocations: 55.62 MB / 0.5443 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003653/0.1035, allocations: 1.84 MB / 0.5461 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1045, allocations: 0.5025 MB / 0.5466 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1046, allocations: 4 kB / 0.5466 GB, free: 2.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1048, allocations: 15.84 kB / 0.5466 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.1048, allocations: 35.7 kB / 0.5466 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.105, allocations: 31.91 kB / 0.5466 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1052, allocations: 119.5 kB / 0.5468 GB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1053, allocations: 29.58 kB / 0.5468 GB, free: 2.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.1053, allocations: 43.86 kB / 0.5468 GB, free: 2.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.1054, allocations: 47.78 kB / 0.5469 GB, free: 2.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1055, allocations: 12 kB / 0.5469 GB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.1055, allocations: 8 kB / 0.5469 GB, free: 2.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.1055, allocations: 31.84 kB / 0.5469 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.1056, allocations: 59.72 kB / 0.547 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1058, allocations: 119.5 kB / 0.5471 GB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1058, allocations: 0 / 0.5471 GB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1058, allocations: 7.984 kB / 0.5471 GB, free: 2.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1058, allocations: 0 / 0.5471 GB, free: 2.281 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.0005037/0.1063, allocations: 337.9 kB / 0.5474 GB, free: 1.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1063, allocations: 11.98 kB / 0.5474 GB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.667e-05/0.1063, allocations: 4.188 kB / 0.5474 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1064, allocations: 46.72 kB / 0.5475 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1064, allocations: 12.89 kB / 0.5475 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1066, allocations: 142.3 kB / 0.5476 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1067, allocations: 8.375 kB / 0.5476 GB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1067, allocations: 16.31 kB / 0.5477 GB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1069, allocations: 101.6 kB / 0.5478 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1069, allocations: 0 / 0.5478 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1069, allocations: 4 kB / 0.5478 GB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1069, allocations: 4 kB / 0.5478 GB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.107, allocations: 63.91 kB / 0.5478 GB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.1078, allocations: 473.4 kB / 0.5483 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.236e-05/0.1078, allocations: 46.5 kB / 0.5483 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.1079, allocations: 16.86 kB / 0.5483 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1079, allocations: 0 / 0.5483 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1079, allocations: 42.56 kB / 0.5484 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1079, allocations: 0 / 0.5484 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.1081, allocations: 61.73 kB / 0.5484 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1081, allocations: 51.41 kB / 0.5485 GB, free: 0.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1083, allocations: 139.5 kB / 0.5486 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1083, allocations: 33.7 kB / 0.5486 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.1084, allocations: 116.1 kB / 0.5488 GB, free: 412 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.1084, allocations: 11.91 kB / 0.5488 GB, free: 400 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1084, allocations: 33.64 kB / 0.5488 GB, free: 360 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1085, allocations: 322.8 kB / 0.5491 GB, free: 28 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.1086, allocations: 11.98 kB / 0.5491 GB, free: 16 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.1086, allocations: 30.66 kB / 0.5492 GB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.1087, allocations: 42.58 kB / 0.5492 GB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1087, allocations: 4 kB / 0.5492 GB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001216/0.1088, allocations: 77.58 kB / 0.5493 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1088, allocations: 11.92 kB / 0.5493 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1088, allocations: 4 kB / 0.5493 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1089, allocations: 0 / 0.5493 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.1089, allocations: 12 kB / 0.5493 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1089, allocations: 0 / 0.5493 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.109, allocations: 19.95 kB / 0.5493 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.109, allocations: 4 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.068e-05/0.1091, allocations: 121.8 kB / 0.5494 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1091, allocations: 11.94 kB / 0.5494 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.1092, allocations: 12.28 kB / 0.5495 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1092, allocations: 0 / 0.5495 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1092, allocations: 4 kB / 0.5495 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1092, allocations: 0 / 0.5495 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1094, allocations: 168.6 kB / 0.5496 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1094, allocations: 192 / 0.5496 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/0.1094, allocations: 11.94 kB / 0.5496 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1094, allocations: 4 kB / 0.5496 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1094, allocations: 7.922 kB / 0.5496 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1094, allocations: 0 / 0.5496 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1094, allocations: 0 / 0.5496 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1096, allocations: 167.4 kB / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.1096, allocations: 7.984 kB / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1096, allocations: 0 / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1097, allocations: 8 kB / 0.5498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.1097, allocations: 8.047 kB / 0.5498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1097, allocations: 4 kB / 0.5498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.799e-05/0.1098, allocations: 105.8 kB / 0.5499 GB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1098, allocations: 0 / 0.5499 GB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1101, allocations: 23.95 kB / 0.55 GB, free: 15.06 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.0004486/0.1105, allocations: 0.7045 MB / 0.5506 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1106, allocations: 31.92 kB / 0.5507 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1106, allocations: 0 / 0.5507 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.1106, allocations: 12 kB / 0.5507 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.0002636/0.1109, allocations: 8 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.001655/0.1125, allocations: 1.576 MB / 0.5522 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1129, allocations: 0.7078 MB / 0.5529 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.1129, allocations: 8.656 kB / 0.5529 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.113, allocations: 23.44 kB / 0.553 GB, free: 11.85 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.113, allocations: 0 / 0.553 GB, free: 11.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1408, allocations: 2.217 MB / 0.5551 GB, free: 9.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.49, allocations: 8.109 kB / 0.5551 GB, free: 9.758 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.556107233976945] Failed to read output from testmodel.py, exit status != 0: 11.644588830065913 11.947015088 11.837052133 Calling exit ...