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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 246.1 MB, free: 13.62 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 199.7 kB / 301.4 MB, free: 9.188 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03868/0.03868, allocations: 8.94 MB / 365.4 MB, free: 9.32 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 87.98 kB / 488.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08518, allocations: 54.42 MB / 0.5304 GB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002952/0.08813, allocations: 1.818 MB / 0.5322 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.08891, allocations: 463.7 kB / 0.5326 GB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.089, allocations: 7.938 kB / 0.5326 GB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.0891, allocations: 15.84 kB / 0.5327 GB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.08918, allocations: 39.7 kB / 0.5327 GB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.08931, allocations: 27.91 kB / 0.5327 GB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.08948, allocations: 119.5 kB / 0.5328 GB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.0896, allocations: 33.09 kB / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.08966, allocations: 43.86 kB / 0.5329 GB, free: 12.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.08975, allocations: 55.7 kB / 0.533 GB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.08978, allocations: 12 kB / 0.533 GB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.0898, allocations: 12 kB / 0.533 GB, free: 12.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.08983, allocations: 23.86 kB / 0.533 GB, free: 12.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.0899, allocations: 55.73 kB / 0.5331 GB, free: 12.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.09007, allocations: 127.7 kB / 0.5332 GB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.09007, allocations: 0 / 0.5332 GB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09007, allocations: 0 / 0.5332 GB, free: 12.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.09008, allocations: 3.984 kB / 0.5332 GB, free: 12.44 MB / 350.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.0005328/0.09061, allocations: 407 kB / 0.5336 GB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.09065, allocations: 8.031 kB / 0.5336 GB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.0907, allocations: 46.73 kB / 0.5336 GB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.09073, allocations: 16.84 kB / 0.5336 GB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.09098, allocations: 200.1 kB / 0.5338 GB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.09099, allocations: 8.375 kB / 0.5338 GB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.09102, allocations: 12.36 kB / 0.5339 GB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.09121, allocations: 109.7 kB / 0.534 GB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.09122, allocations: 0 / 0.534 GB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.09124, allocations: 11.88 kB / 0.534 GB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.09124, allocations: 4 kB / 0.534 GB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.09136, allocations: 59.97 kB / 0.534 GB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.09213, allocations: 498.3 kB / 0.5345 GB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.09223, allocations: 54.5 kB / 0.5346 GB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.09226, allocations: 16.94 kB / 0.5346 GB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.09227, allocations: 0 / 0.5346 GB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.09229, allocations: 38.56 kB / 0.5346 GB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.09229, allocations: 0 / 0.5346 GB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.09246, allocations: 61.64 kB / 0.5347 GB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.09249, allocations: 51.41 kB / 0.5347 GB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.09262, allocations: 151.8 kB / 0.5349 GB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.09264, allocations: 25.7 kB / 0.5349 GB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.09272, allocations: 112.2 kB / 0.535 GB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.09274, allocations: 23.83 kB / 0.535 GB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.09278, allocations: 21.72 kB / 0.535 GB, free: 10.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.09292, allocations: 326.8 kB / 0.5353 GB, free: 9.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.09295, allocations: 12 kB / 0.5354 GB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.09299, allocations: 30.56 kB / 0.5354 GB, free: 9.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.09306, allocations: 50.52 kB / 0.5354 GB, free: 9.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.09306, allocations: 0 / 0.5354 GB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001315/0.0932, allocations: 85.58 kB / 0.5355 GB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.09321, allocations: 8 kB / 0.5355 GB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.09321, allocations: 3.938 kB / 0.5355 GB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.09322, allocations: 0 / 0.5355 GB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.09331, allocations: 15.98 kB / 0.5355 GB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.09332, allocations: 4 kB / 0.5355 GB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.09336, allocations: 3.953 kB / 0.5356 GB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.09337, allocations: 4.062 kB / 0.5356 GB, free: 9.742 MB / 350.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 8.463e-05/0.09345, allocations: 125.7 kB / 0.5357 GB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.09348, allocations: 11.95 kB / 0.5357 GB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.09351, allocations: 8.25 kB / 0.5357 GB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09351, allocations: 0 / 0.5357 GB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.09352, allocations: 0 / 0.5357 GB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.09352, allocations: 7.922 kB / 0.5357 GB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.09373, allocations: 197.6 kB / 0.5359 GB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.09373, allocations: 3.938 kB / 0.5359 GB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.0938, allocations: 11.98 kB / 0.5359 GB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.0938, allocations: 4 kB / 0.5359 GB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.09381, allocations: 0 / 0.5359 GB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.09381, allocations: 0 / 0.5359 GB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.09381, allocations: 4 kB / 0.5359 GB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.09398, allocations: 167.6 kB / 0.5361 GB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.09405, allocations: 92.98 kB / 0.5362 GB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.09406, allocations: 0 / 0.5362 GB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.09414, allocations: 8.094 kB / 0.5362 GB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.09416, allocations: 0 / 0.5362 GB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.09416, allocations: 4 kB / 0.5362 GB, free: 9.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.09424, allocations: 111.2 kB / 0.5363 GB, free: 8.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09424, allocations: 0 / 0.5363 GB, free: 8.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.09447, allocations: 20 kB / 0.5363 GB, free: 8.879 MB / 350.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.0004558/0.09492, allocations: 0.6929 MB / 0.537 GB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.09504, allocations: 39.92 kB / 0.537 GB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.09504, allocations: 0 / 0.537 GB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.09506, allocations: 12 kB / 0.537 GB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.09531, allocations: 18.36 kB / 0.537 GB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.09689, allocations: 1.572 MB / 0.5386 GB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.09721, allocations: 0.7079 MB / 0.5393 GB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.09725, allocations: 8.609 kB / 0.5393 GB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.0973, allocations: 31.42 kB / 0.5393 GB, free: 5.656 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.0973, allocations: 0 / 0.5393 GB, free: 5.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1224, allocations: 2.006 MB / 0.5413 GB, free: 3.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.188, allocations: 11.67 kB / 0.5413 GB, free: 3.723 MB / 350.1 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_FirstSteps_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.619133783999132]