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.001425/0.001425, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.507/1.507, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001639/0.001639, allocations: 205.8 kB / 306 MB, free: 4.301 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.04209/0.04209, allocations: 8.92 MB / 371 MB, free: 3.426 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.003285/0.003285, allocations: 82.69 kB / 495.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3091, allocations: 55.56 MB / 0.5384 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002941/0.312, allocations: 2.236 MB / 0.5405 GB, free: 25.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.3127, allocations: 0.5371 MB / 0.5411 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.3128, allocations: 2.969 kB / 0.5411 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.313, allocations: 25.61 kB / 0.5411 GB, free: 24.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.313, allocations: 29.94 kB / 0.5411 GB, free: 24.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.3132, allocations: 50.62 kB / 0.5412 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3133, allocations: 160 kB / 0.5413 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3135, allocations: 51.7 kB / 0.5414 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.3135, allocations: 59.06 kB / 0.5414 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.3136, allocations: 79.42 kB / 0.5415 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3136, allocations: 19.47 kB / 0.5415 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.3137, allocations: 12.16 kB / 0.5415 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.3137, allocations: 32.33 kB / 0.5416 GB, free: 24.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.3137, allocations: 72.58 kB / 0.5416 GB, free: 24.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3139, allocations: 164.5 kB / 0.5418 GB, free: 24.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3139, allocations: 3.422 kB / 0.5418 GB, free: 24.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3139, allocations: 0 / 0.5418 GB, free: 24.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3139, allocations: 3.312 kB / 0.5418 GB, free: 24.29 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.0004999/0.3144, allocations: 461.3 kB / 0.5422 GB, free: 23.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3145, allocations: 9.656 kB / 0.5423 GB, free: 23.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3145, allocations: 49.56 kB / 0.5423 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.3145, allocations: 22.36 kB / 0.5423 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3147, allocations: 212.9 kB / 0.5425 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3147, allocations: 10.72 kB / 0.5425 GB, free: 23.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3148, allocations: 21.88 kB / 0.5426 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.315, allocations: 178.3 kB / 0.5427 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.315, allocations: 7.453 kB / 0.5427 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.315, allocations: 7.938 kB / 0.5427 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.315, allocations: 6.656 kB / 0.5427 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3152, allocations: 87.16 kB / 0.5428 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.3159, allocations: 0.7382 MB / 0.5435 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3161, allocations: 67.86 kB / 0.5436 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.3161, allocations: 38.39 kB / 0.5436 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.3161, allocations: 0 / 0.5436 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3162, allocations: 38.5 kB / 0.5437 GB, free: 22.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.3162, allocations: 0 / 0.5437 GB, free: 22.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002688/0.3164, allocations: 104.8 kB / 0.5438 GB, free: 22.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.3165, allocations: 51.41 kB / 0.5438 GB, free: 22.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.3166, allocations: 157.9 kB / 0.544 GB, free: 22.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.3166, allocations: 33.11 kB / 0.544 GB, free: 22.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3166, allocations: 140.5 kB / 0.5442 GB, free: 22.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.3166, allocations: 22.02 kB / 0.5442 GB, free: 22.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.3167, allocations: 31.64 kB / 0.5442 GB, free: 22.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.968e-05/0.3167, allocations: 321.6 kB / 0.5445 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.3168, allocations: 27.5 kB / 0.5445 GB, free: 21.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.3168, allocations: 66.2 kB / 0.5446 GB, free: 21.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.317, allocations: 87.39 kB / 0.5447 GB, free: 21.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.317, allocations: 0 / 0.5447 GB, free: 21.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000181/0.3171, allocations: 132.1 kB / 0.5448 GB, free: 21.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3171, allocations: 6.438 kB / 0.5448 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3171, allocations: 0 / 0.5448 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3172, allocations: 3.406 kB / 0.5448 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3173, allocations: 33.83 kB / 0.5448 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3173, allocations: 7.031 kB / 0.5449 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.3174, allocations: 11.02 kB / 0.5449 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3174, allocations: 6.406 kB / 0.5449 GB, free: 21.7 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.394e-05/0.3174, allocations: 127.8 kB / 0.545 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3175, allocations: 7.266 kB / 0.545 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.3175, allocations: 16.06 kB / 0.545 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3175, allocations: 0 / 0.545 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3175, allocations: 3.938 kB / 0.545 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3175, allocations: 3.188 kB / 0.545 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3177, allocations: 219.4 kB / 0.5452 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3177, allocations: 7.406 kB / 0.5452 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.3178, allocations: 16.94 kB / 0.5453 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3178, allocations: 4 kB / 0.5453 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3178, allocations: 3.312 kB / 0.5453 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3178, allocations: 0 / 0.5453 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3178, allocations: 7.359 kB / 0.5453 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.318, allocations: 206.6 kB / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.318, allocations: 84.31 kB / 0.5455 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.318, allocations: 4 kB / 0.5456 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.3181, allocations: 10.66 kB / 0.5456 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.3182, allocations: 11.25 kB / 0.5456 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3182, allocations: 3.062 kB / 0.5456 GB, free: 21.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.3182, allocations: 112.7 kB / 0.5457 GB, free: 20.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3182, allocations: 3.938 kB / 0.5457 GB, free: 20.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3185, allocations: 34.48 kB / 0.5457 GB, free: 20.95 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.0003359/0.3188, allocations: 0.7487 MB / 0.5465 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.319, allocations: 68.27 kB / 0.5465 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.319, allocations: 0 / 0.5465 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.409e-05/0.319, allocations: 27.25 kB / 0.5465 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3193, allocations: 25.48 kB / 0.5466 GB, free: 20.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3208, allocations: 1.784 MB / 0.5483 GB, free: 18.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.321, allocations: 0.7214 MB / 0.549 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.321, allocations: 7.266 kB / 0.549 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.3211, allocations: 41.41 kB / 0.5491 GB, free: 17.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3211, allocations: 0 / 0.5491 GB, free: 17.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.346, allocations: 2.56 MB / 0.5516 GB, free: 17.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.246, allocations: 10.98 kB / 0.5516 GB, free: 17.48 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.966519583991612] Failed to read output from testmodel.py, exit status != 0: 8.31665610500204 8.332772308000001 8.014904184 Calling exit ...