Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.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.001523/0.001523, allocations: 113 kB / 18.94 MB, free: 2.934 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.478/1.478, allocations: 230.6 MB / 252.6 MB, free: 8.344 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.002346/0.002346, allocations: 197.9 kB / 309.2 MB, free: 3.188 MB / 238.1 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.5807/0.5807, allocations: 107.2 MB / 472.8 MB, free: 4.766 MB / 334.1 MB " [Timeout remaining time 179] 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_StartFromExternal_using_VSIO_outputs,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL 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: OpenIPSL 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.002677/0.002677, allocations: 79.88 kB / 0.6331 GB, free: 5.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4357, allocations: 80.14 MB / 0.7114 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs): time 0.006047/0.4418, allocations: 6.746 MB / 0.718 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004566/0.4463, allocations: 2.027 MB / 0.72 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007522/0.4471, allocations: 9.656 kB / 0.72 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.4478, allocations: 261.2 kB / 0.7202 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.4496, allocations: 0.6413 MB / 0.7208 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.4517, allocations: 0.7664 MB / 0.7216 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.454, allocations: 1.534 MB / 0.7231 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.4544, allocations: 228.9 kB / 0.7233 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.4554, allocations: 0.6254 MB / 0.7239 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.4567, allocations: 0.8071 MB / 0.7247 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.4569, allocations: 120 kB / 0.7248 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.4575, allocations: 243 kB / 0.725 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.4579, allocations: 311.2 kB / 0.7253 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008123/0.4587, allocations: 0.6573 MB / 0.726 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.461, allocations: 1.633 MB / 0.7276 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.461, allocations: 0 / 0.7276 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.461, allocations: 4 kB / 0.7276 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.4611, allocations: 0 / 0.7276 GB, free: 10.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.009606/0.4707, allocations: 2.638 MB / 0.7302 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4707, allocations: 9.344 kB / 0.7302 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.471, allocations: 131.5 kB / 0.7303 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/0.4757, allocations: 0.7003 MB / 0.731 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.4774, allocations: 0.7554 MB / 0.7317 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000518/0.4779, allocations: 452.4 kB / 0.7321 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.4782, allocations: 80.47 kB / 0.7322 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.481, allocations: 1.214 MB / 0.7334 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.4811, allocations: 0 / 0.7334 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.4812, allocations: 34.41 kB / 0.7334 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.4812, allocations: 18.94 kB / 0.7335 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.4842, allocations: 1.172 MB / 0.7346 GB, free: 6.723 MB / 0.4981 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.008533/0.4927, allocations: 3.754 MB / 0.7383 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/0.5002, allocations: 2.031 MB / 0.7403 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.5022, allocations: 0.7374 MB / 0.741 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.5023, allocations: 18.55 kB / 0.741 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.5023, allocations: 39.59 kB / 0.741 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.805e-06/0.5023, allocations: 1.625 kB / 0.741 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03969/0.542, allocations: 8.921 MB / 0.7497 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.5421, allocations: 87.2 kB / 0.7498 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.5443, allocations: 0.931 MB / 0.7507 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004048/0.5447, allocations: 41.11 kB / 0.7508 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.5452, allocations: 499.8 kB / 0.7513 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005963/0.5458, allocations: 355.6 kB / 0.7516 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/0.5463, allocations: 170.1 kB / 0.7518 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5464, allocations: 342.8 kB / 0.7521 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.5483, allocations: 0.7034 MB / 0.7528 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.5504, allocations: 0.8481 MB / 0.7536 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.5541, allocations: 1.576 MB / 0.7551 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5541, allocations: 3.938 kB / 0.7551 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01664/0.5707, allocations: 4.55 MB / 0.7596 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5708, allocations: 8 kB / 0.7596 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5708, allocations: 4 kB / 0.7596 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008338/0.5791, allocations: 2.292 MB / 0.7618 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/0.58, allocations: 155.7 kB / 0.762 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03104/0.611, allocations: 11.01 MB / 0.7727 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.6129, allocations: 187.2 kB / 0.7729 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.6131, allocations: 39.94 kB / 0.7729 GB, free: 7.914 MB / 0.5294 GB 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 (85): * Single equations (assignments): 84 * 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.0005634/0.6136, allocations: 237.7 kB / 0.7732 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.614, allocations: 127.1 kB / 0.7733 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.6299, allocations: 4.501 MB / 0.7777 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.63, allocations: 12 kB / 0.7777 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.63, allocations: 0 / 0.7777 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.63, allocations: 3.984 kB / 0.7777 GB, free: 3.012 MB / 0.5294 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.01912/0.6491, allocations: 6.174 MB / 0.7837 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.6491, allocations: 4 kB / 0.7837 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.6498, allocations: 107.8 kB / 0.7838 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007915/0.6577, allocations: 2.171 MB / 0.786 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.6579, allocations: 16 kB / 0.786 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02702/0.6849, allocations: 9.766 MB / 0.7955 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6849, allocations: 4 kB / 0.7955 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/0.7039, allocations: 5.605 MB / 0.801 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/0.7048, allocations: 143 kB / 0.8011 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/0.7051, allocations: 23.98 kB / 0.8011 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.7065, allocations: 119.9 kB / 0.8013 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/0.7076, allocations: 244.5 kB / 0.8015 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-05/0.7077, allocations: 27.98 kB / 0.8015 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001144/0.7089, allocations: 0.6354 MB / 0.8021 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7089, allocations: 4 kB / 0.8021 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001702/0.7106, allocations: 459.6 kB / 0.8026 GB, free: 9.234 MB / 0.5606 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 (60): * Single equations (assignments): 59 * 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.01883/0.7294, allocations: 6.186 MB / 0.8086 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008606/0.738, allocations: 2.535 MB / 0.8111 GB, free: 472 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.738, allocations: 0 / 0.8111 GB, free: 472 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006279/0.7443, allocations: 1.739 MB / 0.8128 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7454, allocations: 104.4 kB / 0.8129 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04658/0.792, allocations: 16.25 MB / 0.8288 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.7929, allocations: 1.103 MB / 0.8298 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005116/0.7934, allocations: 86.98 kB / 0.8299 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/0.794, allocations: 443.3 kB / 0.8304 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.794, allocations: 4 kB / 0.8304 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09226/0.8863, allocations: 39.97 MB / 0.8694 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.28, allocations: 11.48 kB / 0.8694 GB, free: 4.648 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs_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_StartFromExternal_using_VSIO_outputs.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.855703403940424] Failed to read output from testmodel.py, exit status != 0: 16.412594418041408 16.428815417 15.964584494 Calling exit ...