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.001896/0.001896, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.592/1.592, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001436/0.001436, allocations: 212.2 kB / 309.2 MB, free: 3.152 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.04114/0.04114, allocations: 8.911 MB / 374.6 MB, free: 1.902 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.003386/0.003386, allocations: 83.88 kB / 0.4892 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2762, allocations: 55.61 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002797/0.279, allocations: 2.244 MB / 0.5457 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.2797, allocations: 0.5403 MB / 0.5462 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2798, allocations: 7.281 kB / 0.5462 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.2799, allocations: 25.7 kB / 0.5463 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.28, allocations: 33.08 kB / 0.5463 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.2801, allocations: 51.97 kB / 0.5463 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.2803, allocations: 161.2 kB / 0.5465 GB, free: 24.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2804, allocations: 49.47 kB / 0.5465 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.2805, allocations: 67.97 kB / 0.5466 GB, free: 24.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.2806, allocations: 70.66 kB / 0.5467 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2806, allocations: 13.22 kB / 0.5467 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.2806, allocations: 12.88 kB / 0.5467 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.2806, allocations: 33.19 kB / 0.5467 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.2807, allocations: 76 kB / 0.5468 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2809, allocations: 173 kB / 0.547 GB, free: 24.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2809, allocations: 0 / 0.547 GB, free: 24.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2809, allocations: 0 / 0.547 GB, free: 24.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2809, allocations: 4 kB / 0.547 GB, free: 24.45 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.0004733/0.2813, allocations: 376.9 kB / 0.5473 GB, free: 24.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2814, allocations: 9.375 kB / 0.5473 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.2814, allocations: 52.45 kB / 0.5474 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.2815, allocations: 22.64 kB / 0.5474 GB, free: 24.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2817, allocations: 152.5 kB / 0.5476 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2817, allocations: 14.88 kB / 0.5476 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.2817, allocations: 17.88 kB / 0.5476 GB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.282, allocations: 169.2 kB / 0.5477 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.282, allocations: 0 / 0.5477 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.282, allocations: 11.06 kB / 0.5478 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.282, allocations: 7.062 kB / 0.5478 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2822, allocations: 86.12 kB / 0.5478 GB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.2829, allocations: 0.7017 MB / 0.5485 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.283, allocations: 80.14 kB / 0.5486 GB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.2831, allocations: 32.31 kB / 0.5486 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.2831, allocations: 3.984 kB / 0.5486 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2831, allocations: 37.66 kB / 0.5487 GB, free: 23.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2831, allocations: 0 / 0.5487 GB, free: 23.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.00024/0.2833, allocations: 105.3 kB / 0.5488 GB, free: 23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.2834, allocations: 51.41 kB / 0.5488 GB, free: 22.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.2835, allocations: 160.1 kB / 0.549 GB, free: 22.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2835, allocations: 36.92 kB / 0.549 GB, free: 22.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.2835, allocations: 136.9 kB / 0.5491 GB, free: 22.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.2835, allocations: 26.41 kB / 0.5492 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2836, allocations: 27.5 kB / 0.5492 GB, free: 22.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.813e-05/0.2836, allocations: 320.9 kB / 0.5495 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.2837, allocations: 31.16 kB / 0.5495 GB, free: 22.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.2837, allocations: 58.86 kB / 0.5496 GB, free: 22.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2838, allocations: 97.28 kB / 0.5497 GB, free: 22.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2838, allocations: 0 / 0.5497 GB, free: 22.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001788/0.284, allocations: 134 kB / 0.5498 GB, free: 22.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.284, allocations: 6.281 kB / 0.5498 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.284, allocations: 3.219 kB / 0.5498 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2841, allocations: 0 / 0.5498 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2842, allocations: 24.5 kB / 0.5498 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2842, allocations: 11.06 kB / 0.5498 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.2842, allocations: 10.86 kB / 0.5499 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2843, allocations: 7.188 kB / 0.5499 GB, free: 22.07 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.411e-05/0.2843, allocations: 127.2 kB / 0.55 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2843, allocations: 10.53 kB / 0.55 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.2844, allocations: 11.84 kB / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2844, allocations: 0 / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2844, allocations: 3.938 kB / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2844, allocations: 2.906 kB / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2845, allocations: 195.6 kB / 0.5502 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2845, allocations: 3.938 kB / 0.5502 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.2846, allocations: 19.39 kB / 0.5502 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2846, allocations: 96 / 0.5502 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.2846, allocations: 3.938 kB / 0.5502 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2847, allocations: 0 / 0.5502 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2847, allocations: 3.938 kB / 0.5502 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.2849, allocations: 216.7 kB / 0.5504 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.2849, allocations: 18.53 kB / 0.5505 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2849, allocations: 0 / 0.5505 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.285, allocations: 7.219 kB / 0.5505 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.285, allocations: 10.58 kB / 0.5505 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.285, allocations: 0 / 0.5505 GB, free: 21.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.2851, allocations: 116.6 kB / 0.5506 GB, free: 21.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2851, allocations: 0 / 0.5506 GB, free: 21.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2854, allocations: 26.45 kB / 0.5506 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.0003244/0.2857, allocations: 0.7533 MB / 0.5513 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.2859, allocations: 62.77 kB / 0.5514 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2859, allocations: 320 / 0.5514 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.2859, allocations: 27.78 kB / 0.5514 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.0003032/0.2862, allocations: 30.25 kB / 0.5515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2877, allocations: 1.793 MB / 0.5532 GB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.2878, allocations: 0.712 MB / 0.5539 GB, free: 18.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.2878, allocations: 14.47 kB / 0.5539 GB, free: 18.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.2879, allocations: 38.08 kB / 0.554 GB, free: 18.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2879, allocations: 2.938 kB / 0.554 GB, free: 18.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3174, allocations: 2.723 MB / 0.5566 GB, free: 17.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.29, allocations: 16.69 kB / 0.5566 GB, free: 17.96 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.Signals_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.219244634005008] Failed to read output from testmodel.py, exit status != 0: 11.394846538998536 11.407167627 11.123206592 Calling exit ...