Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.001591/0.001591, allocations: 99.66 kB / 18.94 MB, free: 2.84 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 / 252.7 MB, free: 8.066 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.001557/0.001557, allocations: 222 kB / 309.2 MB, free: 2.949 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.04108/0.04108, allocations: 8.92 MB / 374.6 MB, free: 1.727 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.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",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.002554/0.002554, allocations: 91.86 kB / 0.4891 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2869, allocations: 55.6 MB / 0.5434 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002842/0.2897, allocations: 2.147 MB / 0.5455 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.2905, allocations: 0.5105 MB / 0.546 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.2906, allocations: 3.281 kB / 0.546 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.2907, allocations: 25.5 kB / 0.5461 GB, free: 24.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.2907, allocations: 34.62 kB / 0.5461 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.2909, allocations: 52.19 kB / 0.5461 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.291, allocations: 159.1 kB / 0.5463 GB, free: 24.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2912, allocations: 50.42 kB / 0.5463 GB, free: 24.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.2912, allocations: 56.95 kB / 0.5464 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.2913, allocations: 60.19 kB / 0.5464 GB, free: 24.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2913, allocations: 16.12 kB / 0.5465 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.2914, allocations: 16 kB / 0.5465 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2914, allocations: 33.92 kB / 0.5465 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.2914, allocations: 61.61 kB / 0.5466 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.2916, allocations: 170.5 kB / 0.5467 GB, free: 24.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2916, allocations: 4 kB / 0.5467 GB, free: 24.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2916, allocations: 2.562 kB / 0.5467 GB, free: 24.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2916, allocations: 0 / 0.5467 GB, free: 24.46 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004796/0.2921, allocations: 379.3 kB / 0.5471 GB, free: 24.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2921, allocations: 9.188 kB / 0.5471 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.2922, allocations: 52.45 kB / 0.5472 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.2922, allocations: 21.83 kB / 0.5472 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2924, allocations: 155.7 kB / 0.5473 GB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2924, allocations: 10.53 kB / 0.5473 GB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.2925, allocations: 17.56 kB / 0.5474 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.2927, allocations: 199.6 kB / 0.5475 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2927, allocations: 0 / 0.5475 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2927, allocations: 4 kB / 0.5475 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2927, allocations: 5.906 kB / 0.5476 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2929, allocations: 89.11 kB / 0.5476 GB, free: 23.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.2936, allocations: 0.6753 MB / 0.5483 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2937, allocations: 69.75 kB / 0.5484 GB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.2938, allocations: 32.23 kB / 0.5484 GB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.2938, allocations: 3.984 kB / 0.5484 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2938, allocations: 41.84 kB / 0.5484 GB, free: 23.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2938, allocations: 0 / 0.5484 GB, free: 23.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002363/0.2941, allocations: 100.6 kB / 0.5485 GB, free: 23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.2941, allocations: 54.69 kB / 0.5486 GB, free: 22.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.2942, allocations: 159.9 kB / 0.5487 GB, free: 22.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2942, allocations: 29.7 kB / 0.5488 GB, free: 22.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2942, allocations: 142.6 kB / 0.5489 GB, free: 22.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.2943, allocations: 26.53 kB / 0.5489 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.2943, allocations: 31.23 kB / 0.549 GB, free: 22.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.2943, allocations: 329.4 kB / 0.5493 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.2944, allocations: 24.47 kB / 0.5493 GB, free: 22.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.2945, allocations: 66 kB / 0.5494 GB, free: 22.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.2946, allocations: 92.91 kB / 0.5494 GB, free: 22.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2946, allocations: 0 / 0.5494 GB, free: 22.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001782/0.2948, allocations: 125.7 kB / 0.5496 GB, free: 22.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2948, allocations: 6.688 kB / 0.5496 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2948, allocations: 4 kB / 0.5496 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2948, allocations: 3.219 kB / 0.5496 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2949, allocations: 26.53 kB / 0.5496 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2949, allocations: 10.02 kB / 0.5496 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.295, allocations: 11.11 kB / 0.5496 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.295, allocations: 10.56 kB / 0.5496 GB, free: 22.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.247e-05/0.295, allocations: 120.2 kB / 0.5498 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.2951, allocations: 7.172 kB / 0.5498 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.2951, allocations: 15.09 kB / 0.5498 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2951, allocations: 4 kB / 0.5498 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2951, allocations: 7.938 kB / 0.5498 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2951, allocations: 3.219 kB / 0.5498 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2953, allocations: 181.9 kB / 0.55 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2953, allocations: 0 / 0.55 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.2954, allocations: 20.88 kB / 0.55 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2954, allocations: 3.219 kB / 0.55 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2954, allocations: 3.281 kB / 0.55 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2954, allocations: 0 / 0.55 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2954, allocations: 3.938 kB / 0.55 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.2956, allocations: 210.8 kB / 0.5502 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.2956, allocations: 11.17 kB / 0.5502 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2956, allocations: 3.094 kB / 0.5502 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.2957, allocations: 6.719 kB / 0.5502 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.2957, allocations: 14.36 kB / 0.5502 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2957, allocations: 4 kB / 0.5502 GB, free: 21.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.2958, allocations: 112 kB / 0.5503 GB, free: 21.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2958, allocations: 0 / 0.5503 GB, free: 21.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.296, allocations: 34.55 kB / 0.5504 GB, free: 21.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.0003344/0.2964, allocations: 0.7467 MB / 0.5511 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2965, allocations: 67.41 kB / 0.5512 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2965, allocations: 0 / 0.5512 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.2966, allocations: 33.34 kB / 0.5512 GB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2969, allocations: 14.06 kB / 0.5512 GB, free: 20.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2983, allocations: 1.805 MB / 0.553 GB, free: 19.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.2983, allocations: 99.44 kB / 0.5531 GB, free: 19.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.505e-05/0.2984, allocations: 10.62 kB / 0.5531 GB, free: 19.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.2984, allocations: 48.62 kB / 0.5531 GB, free: 19.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2984, allocations: 0 / 0.5531 GB, free: 19.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.3376, allocations: 3.13 MB / 0.5562 GB, free: 18.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.14, allocations: 5.531 kB / 0.5562 GB, free: 18.14 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.834957807790488] Failed to read output from testmodel.py, exit status != 0: 11.244294488336891 11.265548357 10.969741388 Calling exit ...