Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001835/0.001835, allocations: 110.4 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.475/1.475, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.001774/0.001774, allocations: 216.9 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.1013/0.1013, allocations: 8.919 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.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",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.002491/0.002491, allocations: 91.86 kB / 0.4892 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2886, allocations: 55.6 MB / 0.5435 GB, free: 27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001418/0.29, allocations: 0.4956 MB / 0.544 GB, free: 26.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00013/0.2901, allocations: 21.89 kB / 0.544 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.2902, allocations: 0 / 0.544 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.2902, allocations: 3.938 kB / 0.544 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.2902, allocations: 0 / 0.544 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.2903, allocations: 4 kB / 0.544 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.2904, allocations: 13.83 kB / 0.544 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.2904, allocations: 0 / 0.544 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.2904, allocations: 11.16 kB / 0.544 GB, free: 26.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.2905, allocations: 4 kB / 0.544 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2905, allocations: 7.266 kB / 0.544 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-06/0.2905, allocations: 0 / 0.544 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2905, allocations: 7.359 kB / 0.544 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.2905, allocations: 3.406 kB / 0.544 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.884e-05/0.2906, allocations: 3.938 kB / 0.5441 GB, free: 26.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2906, allocations: 0 / 0.5441 GB, free: 26.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2906, allocations: 0 / 0.5441 GB, free: 26.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2906, allocations: 3.375 kB / 0.5441 GB, free: 26.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002678/0.2908, allocations: 253.9 kB / 0.5443 GB, free: 26.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2909, allocations: 9.5 kB / 0.5443 GB, free: 26.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.098e-05/0.2909, allocations: 30.75 kB / 0.5443 GB, free: 26.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.2909, allocations: 12.23 kB / 0.5443 GB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.314e-05/0.291, allocations: 102.5 kB / 0.5444 GB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.291, allocations: 3.625 kB / 0.5444 GB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.291, allocations: 384 / 0.5444 GB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.541e-05/0.2911, allocations: 40.86 kB / 0.5445 GB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2911, allocations: 3.938 kB / 0.5445 GB, free: 26.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2911, allocations: 7.094 kB / 0.5445 GB, free: 26.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2911, allocations: 0 / 0.5445 GB, free: 26.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.2911, allocations: 6.469 kB / 0.5445 GB, free: 26.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.2912, allocations: 126.4 kB / 0.5446 GB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.2913, allocations: 27.92 kB / 0.5447 GB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.2913, allocations: 22.58 kB / 0.5447 GB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.2913, allocations: 0 / 0.5447 GB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2914, allocations: 34.56 kB / 0.5447 GB, free: 25.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2914, allocations: 3.188 kB / 0.5447 GB, free: 25.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001182/0.2915, allocations: 49.88 kB / 0.5448 GB, free: 25.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.2915, allocations: 51.41 kB / 0.5448 GB, free: 25.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.2915, allocations: 100.6 kB / 0.5449 GB, free: 25.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.2915, allocations: 29.64 kB / 0.5449 GB, free: 25.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.2916, allocations: 80.14 kB / 0.545 GB, free: 25.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2916, allocations: 19.03 kB / 0.545 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.2916, allocations: 16.84 kB / 0.545 GB, free: 25.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.2916, allocations: 317.8 kB / 0.5453 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.2917, allocations: 7.25 kB / 0.5454 GB, free: 25.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.2917, allocations: 11.12 kB / 0.5454 GB, free: 25.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.2917, allocations: 21.97 kB / 0.5454 GB, free: 25.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2917, allocations: 4 kB / 0.5454 GB, free: 25.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.591e-05/0.2918, allocations: 49.97 kB / 0.5454 GB, free: 25.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2918, allocations: 10.5 kB / 0.5454 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2918, allocations: 0 / 0.5454 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2918, allocations: 4 kB / 0.5454 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.2919, allocations: 6.469 kB / 0.5455 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2919, allocations: 3.938 kB / 0.5455 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.2919, allocations: 3.188 kB / 0.5455 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-06/0.2919, allocations: 0 / 0.5455 GB, free: 25.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 3.599e-05/0.2919, allocations: 109.2 kB / 0.5456 GB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2919, allocations: 11.14 kB / 0.5456 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.54e-05/0.2919, allocations: 7.688 kB / 0.5456 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2919, allocations: 0 / 0.5456 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.292, allocations: 4 kB / 0.5456 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.292, allocations: 0 / 0.5456 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.014e-05/0.292, allocations: 130.5 kB / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.292, allocations: 0 / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.2921, allocations: 9.312 kB / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2921, allocations: 3.938 kB / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2921, allocations: 3.328 kB / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.2921, allocations: 0 / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2921, allocations: 0 / 0.5457 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.156e-05/0.2922, allocations: 80.25 kB / 0.5458 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-06/0.2922, allocations: 3.156 kB / 0.5458 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.2922, allocations: 3.938 kB / 0.5458 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2922, allocations: 3.516 kB / 0.5458 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.2922, allocations: 3.094 kB / 0.5458 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2922, allocations: 0 / 0.5458 GB, free: 24.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.7e-05/0.2922, allocations: 82.5 kB / 0.5459 GB, free: 24.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2922, allocations: 0 / 0.5459 GB, free: 24.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.2924, allocations: 7.406 kB / 0.5459 GB, free: 24.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.0002015/0.2926, allocations: 0.6094 MB / 0.5465 GB, free: 24.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.2927, allocations: 24.98 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2927, allocations: 3.219 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.2927, allocations: 3.156 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2928, allocations: 7.125 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.2935, allocations: 1.119 MB / 0.5476 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.529e-05/0.2936, allocations: 0.6828 MB / 0.5483 GB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.2936, allocations: 0 / 0.5483 GB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.2936, allocations: 10.66 kB / 0.5483 GB, free: 22.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2936, allocations: 0 / 0.5483 GB, free: 22.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.3217, allocations: 1.218 MB / 0.5495 GB, free: 21.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.18, allocations: 11.06 kB / 0.5495 GB, free: 21.89 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.982426377013326] Failed to read output from testmodel.py, exit status != 0: 11.282355905976146 11.294286498 11.001215853 Calling exit ...