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.001245/0.001245, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001591/0.001591, allocations: 212.3 kB / 310 MB, free: 3.094 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.05504/0.05504, allocations: 8.918 MB / 375.4 MB, free: 6.57 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.002369/0.002369, allocations: 83.88 kB / 0.4899 GB, free: 44.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08148/0.08385, allocations: 55.61 MB / 0.5442 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003078/0.08693, allocations: 1.774 MB / 0.5459 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.08776, allocations: 470.8 kB / 0.5464 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.08782, allocations: 4 kB / 0.5464 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.08793, allocations: 19.78 kB / 0.5464 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.08801, allocations: 35.72 kB / 0.5464 GB, free: 2.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.08813, allocations: 23.97 kB / 0.5465 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.08831, allocations: 123.4 kB / 0.5466 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.08844, allocations: 33.52 kB / 0.5466 GB, free: 2.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.0885, allocations: 47.8 kB / 0.5467 GB, free: 2.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.08859, allocations: 55.77 kB / 0.5467 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.08862, allocations: 8 kB / 0.5467 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.08864, allocations: 12 kB / 0.5467 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.08868, allocations: 23.92 kB / 0.5468 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.08874, allocations: 47.78 kB / 0.5468 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.08891, allocations: 123.5 kB / 0.5469 GB, free: 2.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.08891, allocations: 0 / 0.5469 GB, free: 2.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08892, allocations: 0 / 0.5469 GB, free: 2.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.08892, allocations: 4 kB / 0.5469 GB, free: 2.246 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.0004994/0.08942, allocations: 333.9 kB / 0.5472 GB, free: 1.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.08946, allocations: 11.98 kB / 0.5473 GB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.08948, allocations: 8.125 kB / 0.5473 GB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.08952, allocations: 46.73 kB / 0.5473 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.08955, allocations: 8.891 kB / 0.5473 GB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.08978, allocations: 146.3 kB / 0.5475 GB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.0898, allocations: 8.375 kB / 0.5475 GB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.08982, allocations: 12.38 kB / 0.5475 GB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.09003, allocations: 131.2 kB / 0.5476 GB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.09004, allocations: 0 / 0.5476 GB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.09006, allocations: 4 kB / 0.5476 GB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.09006, allocations: 4 kB / 0.5476 GB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.09019, allocations: 63.91 kB / 0.5477 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.09094, allocations: 449.5 kB / 0.5481 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.09105, allocations: 50.5 kB / 0.5481 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.09108, allocations: 20.94 kB / 0.5482 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.09109, allocations: 0 / 0.5482 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.09112, allocations: 30.56 kB / 0.5482 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.09112, allocations: 0 / 0.5482 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001647/0.09128, allocations: 65.58 kB / 0.5483 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.09132, allocations: 55.41 kB / 0.5483 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.09145, allocations: 138.8 kB / 0.5484 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.09147, allocations: 29.7 kB / 0.5485 GB, free: 492 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.09155, allocations: 120.1 kB / 0.5486 GB, free: 364 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.09157, allocations: 19.89 kB / 0.5486 GB, free: 344 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.09161, allocations: 17.72 kB / 0.5486 GB, free: 320 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.09177, allocations: 326.8 kB / 0.5489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.0918, allocations: 8 kB / 0.5489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.09185, allocations: 38.55 kB / 0.549 GB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.09192, allocations: 46.52 kB / 0.549 GB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.09192, allocations: 0 / 0.549 GB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001235/0.09204, allocations: 81.58 kB / 0.5491 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.09205, allocations: 8 kB / 0.5491 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.09206, allocations: 0 / 0.5491 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.09207, allocations: 0 / 0.5491 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.09218, allocations: 28.05 kB / 0.5491 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.09219, allocations: 0 / 0.5491 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.09224, allocations: 7.891 kB / 0.5491 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.09224, allocations: 7.938 kB / 0.5491 GB, free: 15.74 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.544e-05/0.09234, allocations: 121.7 kB / 0.5493 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.09237, allocations: 12.02 kB / 0.5493 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.09239, allocations: 12.34 kB / 0.5493 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.0924, allocations: 3.984 kB / 0.5493 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.0924, allocations: 0 / 0.5493 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.0924, allocations: 0 / 0.5493 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.0926, allocations: 160.7 kB / 0.5494 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0926, allocations: 0 / 0.5494 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.09267, allocations: 15.92 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.09267, allocations: 0 / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.09268, allocations: 4 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.09268, allocations: 0 / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.09269, allocations: 4 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.09287, allocations: 163.4 kB / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.09289, allocations: 11.97 kB / 0.5496 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.09291, allocations: 3.938 kB / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.093, allocations: 4 kB / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.09301, allocations: 0 / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.09302, allocations: 4 kB / 0.5496 GB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.09314, allocations: 113.6 kB / 0.5498 GB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09314, allocations: 0 / 0.5498 GB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.09337, allocations: 23.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.0004823/0.09386, allocations: 0.6972 MB / 0.5505 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.09397, allocations: 39.91 kB / 0.5505 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.09397, allocations: 0 / 0.5505 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.094, allocations: 11.98 kB / 0.5505 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.09428, allocations: 8 kB / 0.5505 GB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.09595, allocations: 1.586 MB / 0.5521 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.09604, allocations: 84.05 kB / 0.5521 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.09607, allocations: 12.75 kB / 0.5522 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.09612, allocations: 27.53 kB / 0.5522 GB, free: 12.42 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09612, allocations: 3.938 kB / 0.5522 GB, free: 12.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.12, allocations: 2.261 MB / 0.5544 GB, free: 10.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.61, allocations: 6.562 kB / 0.5544 GB, free: 10.29 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.570017687045038] Failed to read output from testmodel.py, exit status != 0: 11.769669345929287 11.964192697 11.872482958 Calling exit ...