Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.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.0008576/0.0008576, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.8788/0.8788, allocations: 177.1 MB / 199.4 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] 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.0009425/0.0009425, allocations: 164.2 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2593/0.2593, allocations: 80.37 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.5549 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.615e-05, allocations: 2.281 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.004363/0.004379, allocations: 5.592 MB / 0.5604 GB, free: 6.969 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.006844, allocations: 1.794 MB / 0.5622 GB, free: 5.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.007164, allocations: 12 kB / 0.5622 GB, free: 5.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.007519, allocations: 230 kB / 0.5624 GB, free: 4.934 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.008321, allocations: 0.635 MB / 0.563 GB, free: 4.297 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.009223, allocations: 0.7154 MB / 0.5637 GB, free: 3.586 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.01028, allocations: 1.497 MB / 0.5652 GB, free: 2.082 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.01054, allocations: 199.8 kB / 0.5654 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006676/0.0112, allocations: 0.8221 MB / 0.5662 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.01167, allocations: 0.6036 MB / 0.5668 GB, free: 456 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.01179, allocations: 112 kB / 0.5669 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.01204, allocations: 215.9 kB / 0.5671 GB, free: 128 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.0122, allocations: 310.7 kB / 0.5674 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.01245, allocations: 434.6 kB / 0.5678 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.0135, allocations: 1.569 MB / 0.5693 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0135, allocations: 0 / 0.5693 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01351, allocations: 0 / 0.5693 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.01353, allocations: 0 / 0.5693 GB, free: 13.82 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.004505/0.01803, allocations: 2.539 MB / 0.5718 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.01807, allocations: 8.031 kB / 0.5718 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.01818, allocations: 118.5 kB / 0.5719 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.02015, allocations: 0.686 MB / 0.5726 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008649/0.02101, allocations: 0.7394 MB / 0.5733 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.02126, allocations: 448.1 kB / 0.5737 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.02136, allocations: 75.98 kB / 0.5738 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.02273, allocations: 1.16 MB / 0.5749 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.02274, allocations: 0 / 0.5749 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.0228, allocations: 31.94 kB / 0.575 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.02281, allocations: 16 kB / 0.575 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.02421, allocations: 1.077 MB / 0.576 GB, free: 6.727 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.02779, allocations: 3.042 MB / 0.579 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.03131, allocations: 1.945 MB / 0.5809 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.0324, allocations: 0.6878 MB / 0.5816 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.03249, allocations: 12.98 kB / 0.5816 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.03251, allocations: 47.56 kB / 0.5816 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 2.285e-06/0.03252, allocations: 0 / 0.5816 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.01782/0.05034, allocations: 8.412 MB / 0.5899 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.05039, allocations: 94.05 kB / 0.5899 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.05133, allocations: 0.9172 MB / 0.5908 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.05145, allocations: 41.7 kB / 0.5909 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.05169, allocations: 473.1 kB / 0.5913 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.05195, allocations: 329.1 kB / 0.5916 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.05217, allocations: 166.5 kB / 0.5918 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.05226, allocations: 341.9 kB / 0.5921 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/0.05319, allocations: 0.6617 MB / 0.5928 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009804/0.05417, allocations: 0.8136 MB / 0.5936 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.05607, allocations: 1.498 MB / 0.595 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.05607, allocations: 0 / 0.595 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.1894/0.2454, allocations: 4.462 MB / 0.5994 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2455, allocations: 6.906 kB / 0.5994 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2455, allocations: 8.188 kB / 0.5994 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.2495, allocations: 2.298 MB / 0.6016 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.2499, allocations: 135.7 kB / 0.6018 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/0.2655, allocations: 10.77 MB / 0.6123 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.2664, allocations: 171 kB / 0.6125 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.2665, allocations: 39.14 kB / 0.6125 GB, free: 87.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.2668, allocations: 229.2 kB / 0.6127 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.2669, allocations: 121 kB / 0.6128 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008277/0.2752, allocations: 4.408 MB / 0.6171 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2752, allocations: 9.062 kB / 0.6171 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2752, allocations: 9.516 kB / 0.6171 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.2753, allocations: 5.297 kB / 0.6172 GB, free: 86.27 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00983/0.2851, allocations: 5.395 MB / 0.6224 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2851, allocations: 1.125 kB / 0.6224 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.2854, allocations: 82.38 kB / 0.6225 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/0.2893, allocations: 2.158 MB / 0.6246 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.514e-05/0.2894, allocations: 23.27 kB / 0.6246 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.3027, allocations: 9.53 MB / 0.6339 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3027, allocations: 0 / 0.6339 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/0.311, allocations: 5.422 MB / 0.6392 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3112, allocations: 137.6 kB / 0.6394 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.3112, allocations: 18.31 kB / 0.6394 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.3118, allocations: 116.4 kB / 0.6395 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.3122, allocations: 230 kB / 0.6397 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.3122, allocations: 27.8 kB / 0.6397 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004822/0.3127, allocations: 0.6262 MB / 0.6403 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.3127, allocations: 0 / 0.6403 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008753/0.3136, allocations: 450 kB / 0.6408 GB, free: 76.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007999/0.3216, allocations: 5.991 MB / 0.6466 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003727/0.3253, allocations: 2.436 MB / 0.649 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3253, allocations: 0 / 0.649 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.3279, allocations: 1.668 MB / 0.6506 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.3285, allocations: 93.3 kB / 0.6507 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.3482, allocations: 15.78 MB / 0.6661 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3485, allocations: 485.3 kB / 0.6666 GB, free: 50.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.3487, allocations: 84.38 kB / 0.6667 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.349, allocations: 416.3 kB / 0.6671 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/0.349, allocations: 3.938 kB / 0.6671 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.3861, allocations: 39.55 MB / 0.7057 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.379, allocations: 3.938 kB / 0.7057 GB, free: 10.29 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.648517020046711] Failed to read output from testmodel.py, exit status != 0: 8.478000041097403 8.484402667 8.469205518 Calling exit ...