Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.6 MB / 246.2 MB, free: 13.61 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 183 kB / 301.4 MB, free: 9.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5343/0.5343, allocations: 98.71 MB / 455.3 MB, free: 5.738 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 87.84 kB / 0.6087 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1443, allocations: 76.7 MB / 0.6836 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag): time 0.00792/0.1522, allocations: 6.188 MB / 0.6897 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.1563, allocations: 1.794 MB / 0.6914 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.1573, allocations: 8 kB / 0.6914 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008603/0.1581, allocations: 242 kB / 0.6917 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1601, allocations: 0.594 MB / 0.6922 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.162, allocations: 0.7832 MB / 0.693 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.164, allocations: 1.378 MB / 0.6943 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.1644, allocations: 207.3 kB / 0.6945 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007164/0.1651, allocations: 0.5523 MB / 0.6951 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3012/0.4663, allocations: 0.7107 MB / 0.6958 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005223/0.4668, allocations: 106.6 kB / 0.6959 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007023/0.4675, allocations: 218.6 kB / 0.6961 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.4678, allocations: 280.3 kB / 0.6964 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.4684, allocations: 0.5975 MB / 0.6969 GB, free: 10 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.4703, allocations: 1.464 MB / 0.6984 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4703, allocations: 1.188 kB / 0.6984 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4703, allocations: 0 / 0.6984 GB, free: 9.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.4704, allocations: 2.156 kB / 0.6984 GB, free: 9.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008064/0.4784, allocations: 2.566 MB / 0.7009 GB, free: 8.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4785, allocations: 7.969 kB / 0.7009 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.4786, allocations: 125.4 kB / 0.701 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.4828, allocations: 0.6806 MB / 0.7017 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.4841, allocations: 0.7477 MB / 0.7024 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.4845, allocations: 348.7 kB / 0.7027 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.4846, allocations: 70.22 kB / 0.7028 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.487, allocations: 1.127 MB / 0.7039 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.487, allocations: 4 kB / 0.7039 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.4871, allocations: 29.23 kB / 0.7039 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.4871, allocations: 17.53 kB / 0.7039 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.4895, allocations: 1.092 MB / 0.705 GB, free: 8.031 MB / 494.1 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.006074/0.4956, allocations: 3.36 MB / 0.7083 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007206/0.5028, allocations: 2.215 MB / 0.7105 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.5049, allocations: 0.6861 MB / 0.7111 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.505, allocations: 12.02 kB / 0.7111 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5051, allocations: 44.19 kB / 0.7112 GB, free: 5.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=89): time 3.747e-06/0.5051, allocations: 0 / 0.7112 GB, free: 5.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=89): time 0.02842/0.5335, allocations: 7.104 MB / 0.7181 GB, free: 4.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.5335, allocations: 90.08 kB / 0.7182 GB, free: 3.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.5347, allocations: 0.8499 MB / 0.719 GB, free: 3.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002762/0.535, allocations: 41.64 kB / 0.7191 GB, free: 3.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.5353, allocations: 466.9 kB / 0.7195 GB, free: 3.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.5356, allocations: 322.2 kB / 0.7198 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.536, allocations: 162.2 kB / 0.72 GB, free: 2.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.536, allocations: 346.4 kB / 0.7203 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.5376, allocations: 0.6575 MB / 0.721 GB, free: 2.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.5393, allocations: 0.799 MB / 0.7217 GB, free: 1.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.5424, allocations: 1.482 MB / 0.7232 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.5424, allocations: 1.125 kB / 0.7232 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01523/0.5576, allocations: 4.284 MB / 0.7274 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5577, allocations: 6.906 kB / 0.7274 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5577, allocations: 3.781 kB / 0.7274 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008181/0.5658, allocations: 2.211 MB / 0.7295 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/0.5666, allocations: 136.5 kB / 0.7297 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02797/0.5946, allocations: 10.25 MB / 0.7397 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.5964, allocations: 173.6 kB / 0.7398 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5966, allocations: 32.2 kB / 0.7399 GB, free: 7.344 MB / 0.4981 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0006012/0.5972, allocations: 226.5 kB / 0.7401 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.5975, allocations: 116.9 kB / 0.7402 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/0.6125, allocations: 4.179 MB / 0.7443 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.6125, allocations: 8 kB / 0.7443 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6125, allocations: 4 kB / 0.7443 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/0.6125, allocations: 7.969 kB / 0.7443 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.6308, allocations: 5.767 MB / 0.7499 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6308, allocations: 3.938 kB / 0.7499 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.6313, allocations: 86.95 kB / 0.75 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007704/0.6391, allocations: 2.107 MB / 0.7521 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.6393, allocations: 16 kB / 0.7521 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/0.6641, allocations: 9.101 MB / 0.761 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6642, allocations: 0 / 0.761 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/0.6815, allocations: 5.213 MB / 0.7661 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.6821, allocations: 208.2 kB / 0.7663 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.6823, allocations: 19.94 kB / 0.7663 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.6834, allocations: 111.9 kB / 0.7664 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007915/0.6842, allocations: 228.7 kB / 0.7666 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.6843, allocations: 23.98 kB / 0.7666 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000873/0.6852, allocations: 0.5789 MB / 0.7672 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6852, allocations: 0 / 0.7672 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001604/0.6868, allocations: 419.7 kB / 0.7676 GB, free: 11.24 MB / 0.5294 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 (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(24,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01758/0.7044, allocations: 5.79 MB / 0.7733 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008496/0.7129, allocations: 2.486 MB / 0.7757 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7129, allocations: 0 / 0.7757 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006236/0.7191, allocations: 1.749 MB / 0.7774 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7202, allocations: 91.42 kB / 0.7775 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/0.7636, allocations: 15.22 MB / 0.7923 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.7644, allocations: 1.053 MB / 0.7934 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.7648, allocations: 85.97 kB / 0.7934 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.7653, allocations: 399.3 kB / 0.7938 GB, free: 232 kB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/0.7653, allocations: 0 / 0.7938 GB, free: 232 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08695/0.8523, allocations: 36.44 MB / 0.8294 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/17.45, allocations: 19.91 kB / 0.8294 GB, free: 11.95 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag_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_SourcesWithRealInputs_VoltageSourceReImInputVaryImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryImag.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.536477976012975] Failed to read output from testmodel.py, exit status != 0: 17.567175894015236 17.591640621 17.116488102 Calling exit ...