Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001823/0.001823, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.577/1.577, allocations: 230.6 MB / 252.7 MB, free: 8.312 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.001569/0.001569, allocations: 217.7 kB / 309.2 MB, free: 3.211 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.06044/0.06044, allocations: 8.913 MB / 374.6 MB, free: 1.969 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.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",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.002597/0.002597, allocations: 83.88 kB / 0.4892 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2897, allocations: 55.61 MB / 0.5435 GB, free: 26.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001465/0.2912, allocations: 0.492 MB / 0.544 GB, free: 26.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.2913, allocations: 22.34 kB / 0.544 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.2913, allocations: 0 / 0.544 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2914, allocations: 0 / 0.544 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.2914, allocations: 4 kB / 0.544 GB, free: 26.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.2915, allocations: 7.172 kB / 0.544 GB, free: 26.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.2915, allocations: 10.38 kB / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.2916, allocations: 3.141 kB / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.2916, allocations: 7.188 kB / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.2916, allocations: 0 / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.2917, allocations: 7.203 kB / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.2917, allocations: 0 / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.2917, allocations: 7.938 kB / 0.544 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.2917, allocations: 6.844 kB / 0.544 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.1e-05/0.2918, allocations: 7.734 kB / 0.5441 GB, free: 26.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2918, allocations: 4 kB / 0.5441 GB, free: 26.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2918, allocations: 0 / 0.5441 GB, free: 26.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2918, allocations: 3.094 kB / 0.5441 GB, free: 26.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002841/0.292, allocations: 243.3 kB / 0.5443 GB, free: 26.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2921, allocations: 9.719 kB / 0.5443 GB, free: 26.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.172e-05/0.2921, allocations: 30.75 kB / 0.5443 GB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.2921, allocations: 8.141 kB / 0.5443 GB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.541e-05/0.2922, allocations: 105.9 kB / 0.5444 GB, free: 26.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.2922, allocations: 15.44 kB / 0.5445 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.2922, allocations: 4.375 kB / 0.5445 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.2923, allocations: 33.14 kB / 0.5445 GB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2923, allocations: 6.844 kB / 0.5445 GB, free: 26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.2923, allocations: 0 / 0.5445 GB, free: 26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2923, allocations: 0 / 0.5445 GB, free: 26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.2923, allocations: 7.125 kB / 0.5445 GB, free: 26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.2925, allocations: 126.3 kB / 0.5446 GB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/0.2925, allocations: 38.53 kB / 0.5447 GB, free: 25.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.2925, allocations: 15.95 kB / 0.5447 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.2925, allocations: 0 / 0.5447 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.036e-05/0.2925, allocations: 33.72 kB / 0.5447 GB, free: 25.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2925, allocations: 0 / 0.5447 GB, free: 25.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.2927, allocations: 53.48 kB / 0.5448 GB, free: 25.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2927, allocations: 51.41 kB / 0.5448 GB, free: 25.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.2927, allocations: 105.2 kB / 0.5449 GB, free: 25.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.2927, allocations: 29.7 kB / 0.5449 GB, free: 25.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.2928, allocations: 83.23 kB / 0.545 GB, free: 25.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.2928, allocations: 15.22 kB / 0.545 GB, free: 25.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.2928, allocations: 16.94 kB / 0.545 GB, free: 25.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.2928, allocations: 310.8 kB / 0.5453 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2929, allocations: 10.42 kB / 0.5454 GB, free: 25.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.2929, allocations: 6.594 kB / 0.5454 GB, free: 25.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.2929, allocations: 19.38 kB / 0.5454 GB, free: 25.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2929, allocations: 4 kB / 0.5454 GB, free: 25.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.394e-05/0.293, allocations: 45.83 kB / 0.5454 GB, free: 25.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.293, allocations: 10.41 kB / 0.5454 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.293, allocations: 0 / 0.5454 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.293, allocations: 0 / 0.5454 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.2931, allocations: 14.05 kB / 0.5454 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2931, allocations: 7.203 kB / 0.5455 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.2931, allocations: 0 / 0.5455 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.2931, allocations: 4 kB / 0.5455 GB, free: 25.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 3.71e-05/0.2931, allocations: 113 kB / 0.5456 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.2931, allocations: 7.891 kB / 0.5456 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.2931, allocations: 3.688 kB / 0.5456 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2931, allocations: 0 / 0.5456 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2932, allocations: 7.219 kB / 0.5456 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2932, allocations: 3.422 kB / 0.5456 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.073e-05/0.2932, allocations: 123.8 kB / 0.5457 GB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2932, allocations: 0 / 0.5457 GB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.2933, allocations: 12.3 kB / 0.5457 GB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2933, allocations: 7.875 kB / 0.5457 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.2933, allocations: 4 kB / 0.5457 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2933, allocations: 0 / 0.5457 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2933, allocations: 3.031 kB / 0.5457 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.2934, allocations: 79.91 kB / 0.5458 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-06/0.2934, allocations: 0 / 0.5458 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2934, allocations: 7.938 kB / 0.5458 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.2934, allocations: 3.219 kB / 0.5458 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.2934, allocations: 0 / 0.5458 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2934, allocations: 8 kB / 0.5458 GB, free: 24.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.783e-05/0.2934, allocations: 81.92 kB / 0.5459 GB, free: 24.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2934, allocations: 0 / 0.5459 GB, free: 24.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001757/0.2936, allocations: 3.031 kB / 0.5459 GB, free: 24.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.0001979/0.2938, allocations: 0.6165 MB / 0.5465 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.2939, allocations: 13.38 kB / 0.5465 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2939, allocations: 0 / 0.5465 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.2939, allocations: 13.5 kB / 0.5465 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.294, allocations: 0 / 0.5465 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.2946, allocations: 1.12 MB / 0.5476 GB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.2947, allocations: 0.6786 MB / 0.5483 GB, free: 22.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.693e-05/0.2947, allocations: 0 / 0.5483 GB, free: 22.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.2948, allocations: 10.53 kB / 0.5483 GB, free: 22.11 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2948, allocations: 0 / 0.5483 GB, free: 22.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.3233, allocations: 1.226 MB / 0.5495 GB, free: 21.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.27, allocations: 7.578 kB / 0.5495 GB, free: 21.72 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical1_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_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.228979592000542] Failed to read output from testmodel.py, exit status != 0: 11.371179185000074 11.382624422 11.08838853 Calling exit ...