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.001412/0.001412, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 14.46 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.001509/0.001509, allocations: 214.5 kB / 310 MB, free: 3.051 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.04136/0.04136, allocations: 8.919 MB / 375.4 MB, free: 6.59 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.002369/0.002369, allocations: 79.88 kB / 0.4899 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08407, allocations: 55.63 MB / 0.5442 GB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002995/0.08706, allocations: 1.748 MB / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008258/0.08789, allocations: 474.8 kB / 0.5464 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.08796, allocations: 4 kB / 0.5464 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.08808, allocations: 15.84 kB / 0.5464 GB, free: 2.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.08816, allocations: 35.7 kB / 0.5464 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.08831, allocations: 27.91 kB / 0.5464 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.08848, allocations: 119.5 kB / 0.5466 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.08863, allocations: 37.52 kB / 0.5466 GB, free: 2.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.08869, allocations: 43.86 kB / 0.5466 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.08879, allocations: 55.75 kB / 0.5467 GB, free: 2.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.08882, allocations: 12 kB / 0.5467 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.469e-05/0.08884, allocations: 12 kB / 0.5467 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.08887, allocations: 23.86 kB / 0.5467 GB, free: 2.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.08894, allocations: 51.73 kB / 0.5468 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.08912, allocations: 119.5 kB / 0.5469 GB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.08913, allocations: 0 / 0.5469 GB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08913, allocations: 0 / 0.5469 GB, free: 2.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.08913, allocations: 0 / 0.5469 GB, free: 2.262 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.0005464/0.08968, allocations: 337.9 kB / 0.5472 GB, free: 1.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.08972, allocations: 15.98 kB / 0.5472 GB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.134e-05/0.08974, allocations: 4.188 kB / 0.5472 GB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.08978, allocations: 46.67 kB / 0.5473 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.08982, allocations: 12.89 kB / 0.5473 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.09004, allocations: 142.3 kB / 0.5474 GB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.09006, allocations: 12.38 kB / 0.5474 GB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.09008, allocations: 12.38 kB / 0.5474 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.0903, allocations: 127.3 kB / 0.5476 GB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.09031, allocations: 4 kB / 0.5476 GB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.09033, allocations: 4 kB / 0.5476 GB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.09034, allocations: 4 kB / 0.5476 GB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.09047, allocations: 67.84 kB / 0.5476 GB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.09123, allocations: 441.5 kB / 0.5481 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.09134, allocations: 50.52 kB / 0.5481 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.09138, allocations: 20.94 kB / 0.5481 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.09138, allocations: 0 / 0.5481 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.09141, allocations: 34.56 kB / 0.5482 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09141, allocations: 0 / 0.5482 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.000179/0.09159, allocations: 61.64 kB / 0.5482 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.09164, allocations: 51.41 kB / 0.5483 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.09177, allocations: 141.8 kB / 0.5484 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.09178, allocations: 25.7 kB / 0.5484 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.09187, allocations: 124.1 kB / 0.5486 GB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.09188, allocations: 11.91 kB / 0.5486 GB, free: 364 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.09192, allocations: 25.72 kB / 0.5486 GB, free: 332 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.09208, allocations: 326.9 kB / 0.5489 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.09211, allocations: 12 kB / 0.5489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.09215, allocations: 30.56 kB / 0.5489 GB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.09223, allocations: 46.58 kB / 0.549 GB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09223, allocations: 0 / 0.549 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001217/0.09235, allocations: 81.58 kB / 0.5491 GB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.09236, allocations: 6.969 kB / 0.5491 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.09237, allocations: 15.94 kB / 0.5491 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.09239, allocations: 0 / 0.5491 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.09248, allocations: 15.98 kB / 0.5491 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.09249, allocations: 0 / 0.5491 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.09254, allocations: 11.89 kB / 0.5491 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.09255, allocations: 4 kB / 0.5491 GB, free: 15.75 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.236e-05/0.09264, allocations: 121.7 kB / 0.5492 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.09267, allocations: 7.953 kB / 0.5492 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.0927, allocations: 12.33 kB / 0.5493 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.09271, allocations: 4 kB / 0.5493 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.09271, allocations: 4 kB / 0.5493 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.09271, allocations: 0 / 0.5493 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.0929, allocations: 164.7 kB / 0.5494 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.0929, allocations: 64 / 0.5494 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.09298, allocations: 19.92 kB / 0.5494 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.09298, allocations: 0 / 0.5494 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.09299, allocations: 192 / 0.5494 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.09299, allocations: 0 / 0.5494 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.09299, allocations: 0 / 0.5494 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.09317, allocations: 171.4 kB / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.09318, allocations: 7.938 kB / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.0932, allocations: 8.094 kB / 0.5496 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.09329, allocations: 4 kB / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.0933, allocations: 4 kB / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.09331, allocations: 0 / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.09339, allocations: 107.2 kB / 0.5497 GB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09339, allocations: 0 / 0.5497 GB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.09363, allocations: 31.89 kB / 0.5498 GB, free: 15.02 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.0004224/0.09405, allocations: 0.6889 MB / 0.5504 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.09416, allocations: 40.05 kB / 0.5505 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.09416, allocations: 0 / 0.5505 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/0.09418, allocations: 11.98 kB / 0.5505 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.09444, allocations: 12.14 kB / 0.5505 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.09612, allocations: 1.586 MB / 0.552 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.653e-05/0.09621, allocations: 88.05 kB / 0.5521 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.09624, allocations: 4.672 kB / 0.5521 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.0963, allocations: 31.42 kB / 0.5522 GB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.0963, allocations: 112 / 0.5522 GB, free: 12.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.1204, allocations: 2.267 MB / 0.5544 GB, free: 10.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.51, allocations: 4.578 kB / 0.5544 GB, free: 10.3 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.497758454992436] Failed to read output from testmodel.py, exit status != 0: 11.671256888075732 11.885258152 11.793172688 Calling exit ...