Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.0007977/0.0007977, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9102/0.9102, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.001084/0.001084, allocations: 164.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2728/0.2728, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.VSourceIO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.155e-06/2.155e-06, allocations: 0 / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.035e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.004804/0.004834, allocations: 5.839 MB / 0.5605 GB, free: 6.469 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.007901, allocations: 1.919 MB / 0.5624 GB, free: 4.547 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.00859, allocations: 8 kB / 0.5624 GB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.009188, allocations: 241.9 kB / 0.5626 GB, free: 4.301 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.01055, allocations: 0.6442 MB / 0.5632 GB, free: 3.652 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.01181, allocations: 0.7439 MB / 0.564 GB, free: 2.914 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.01346, allocations: 1.553 MB / 0.5655 GB, free: 1.355 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.01383, allocations: 204.3 kB / 0.5657 GB, free: 1.148 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.01489, allocations: 0.8649 MB / 0.5665 GB, free: 288 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1783/0.1932, allocations: 0.6147 MB / 0.5671 GB, free: 16.21 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.1936, allocations: 119.5 kB / 0.5672 GB, free: 16.21 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.1941, allocations: 231 kB / 0.5674 GB, free: 16.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.1943, allocations: 312.6 kB / 0.5677 GB, free: 16.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.1948, allocations: 452.8 kB / 0.5682 GB, free: 16.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.1969, allocations: 1.644 MB / 0.5698 GB, free: 16.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1969, allocations: 0.75 kB / 0.5698 GB, free: 16.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1969, allocations: 0.7812 kB / 0.5698 GB, free: 16.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.886e-05/0.1969, allocations: 1.25 kB / 0.5698 GB, free: 16.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005947/0.2029, allocations: 2.601 MB / 0.5723 GB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2029, allocations: 10.42 kB / 0.5723 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.2031, allocations: 124.6 kB / 0.5725 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.2056, allocations: 0.6968 MB / 0.5731 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.207, allocations: 0.7453 MB / 0.5739 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.2072, allocations: 454.8 kB / 0.5743 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.2074, allocations: 73.84 kB / 0.5744 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.2095, allocations: 1.203 MB / 0.5755 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2095, allocations: 0 / 0.5755 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.2096, allocations: 32.94 kB / 0.5756 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2096, allocations: 22.14 kB / 0.5756 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.2115, allocations: 1.155 MB / 0.5767 GB, free: 13.96 MB / 442.7 MB 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.005529/0.2171, allocations: 2.956 MB / 0.5796 GB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/0.2215, allocations: 2.038 MB / 0.5816 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.2229, allocations: 0.7451 MB / 0.5823 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.223, allocations: 18.05 kB / 0.5823 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.223, allocations: 40.89 kB / 0.5824 GB, free: 11.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.785e-06/0.223, allocations: 0 / 0.5824 GB, free: 11.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.02103/0.2441, allocations: 8.995 MB / 0.5912 GB, free: 8.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2441, allocations: 92.58 kB / 0.5913 GB, free: 8.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.2452, allocations: 0.9137 MB / 0.5921 GB, free: 7.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.2454, allocations: 42.36 kB / 0.5922 GB, free: 7.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2456, allocations: 485.9 kB / 0.5926 GB, free: 7.512 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.2459, allocations: 357.9 kB / 0.593 GB, free: 7.211 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.2462, allocations: 171.4 kB / 0.5932 GB, free: 7.105 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.2462, allocations: 348.3 kB / 0.5935 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.2473, allocations: 0.7014 MB / 0.5942 GB, free: 6.426 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.2485, allocations: 0.8547 MB / 0.595 GB, free: 5.926 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.2507, allocations: 1.576 MB / 0.5965 GB, free: 5.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.2507, allocations: 1.375 kB / 0.5965 GB, free: 5.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.008549/0.2593, allocations: 4.569 MB / 0.601 GB, free: 2.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.2593, allocations: 6.375 kB / 0.601 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.2593, allocations: 3.188 kB / 0.601 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/0.2635, allocations: 2.291 MB / 0.6033 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.2641, allocations: 158.2 kB / 0.6034 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.2821, allocations: 10.76 MB / 0.6139 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.2835, allocations: 191.1 kB / 0.6141 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.2836, allocations: 34.62 kB / 0.6141 GB, free: 5.754 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (87): * Single equations (assignments): 86 * 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.0004335/0.284, allocations: 235.8 kB / 0.6144 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.2843, allocations: 131.1 kB / 0.6145 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008612/0.2929, allocations: 4.468 MB / 0.6188 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.2929, allocations: 12.81 kB / 0.6189 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2929, allocations: 0 / 0.6189 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.862e-05/0.293, allocations: 11.97 kB / 0.6189 GB, free: 0.9219 MB / 458.7 MB 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.01095/0.3039, allocations: 5.515 MB / 0.6243 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3039, allocations: 0 / 0.6243 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.3043, allocations: 107.5 kB / 0.6244 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004322/0.3086, allocations: 2.176 MB / 0.6265 GB, free: 9.133 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.3088, allocations: 16 kB / 0.6265 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.3245, allocations: 9.519 MB / 0.6358 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3245, allocations: 6.188 kB / 0.6358 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.3351, allocations: 5.596 MB / 0.6413 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.3356, allocations: 142.9 kB / 0.6414 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3358, allocations: 20 kB / 0.6414 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.3366, allocations: 122.7 kB / 0.6415 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005944/0.3372, allocations: 242.4 kB / 0.6418 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.3372, allocations: 31.98 kB / 0.6418 GB, free: 9.359 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006533/0.3379, allocations: 0.631 MB / 0.6424 GB, free: 8.719 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3379, allocations: 0 / 0.6424 GB, free: 8.719 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001384/0.3393, allocations: 455.7 kB / 0.6428 GB, free: 8.273 MB / 490.7 MB 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 (62): * Single equations (assignments): 61 * 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.01074/0.35, allocations: 6.166 MB / 0.6489 GB, free: 2.109 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005322/0.3553, allocations: 2.542 MB / 0.6513 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3553, allocations: 0 / 0.6513 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003857/0.3592, allocations: 1.744 MB / 0.6531 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.3602, allocations: 103.3 kB / 0.6532 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/0.3876, allocations: 16.13 MB / 0.6689 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.388, allocations: 0.5012 MB / 0.6694 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.3884, allocations: 91.05 kB / 0.6695 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.3888, allocations: 440.3 kB / 0.6699 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.402e-06/0.3888, allocations: 0 / 0.6699 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/0.447, allocations: 40.81 MB / 0.7098 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.526/9.973, allocations: 0 / 0.7098 GB, free: 3.836 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.31000374443829] Failed to read output from testmodel.py, exit status != 0: 10.086406701244414 10.103446083 9.902545276 Calling exit ...