Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.001779/0.001779, allocations: 114.7 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.367/1.367, allocations: 225.6 MB / 246.2 MB, free: 13.57 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.001692/0.001692, allocations: 194.2 kB / 301.4 MB, free: 9.082 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.5334/0.5334, allocations: 98.72 MB / 455.3 MB, free: 5.258 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.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 75.88 kB / 0.6087 GB, free: 9.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1452, allocations: 76.7 MB / 0.6836 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.007761/0.153, allocations: 6.638 MB / 0.6901 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004282/0.1573, allocations: 1.978 MB / 0.692 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.1579, allocations: 12 kB / 0.692 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.1586, allocations: 249.9 kB / 0.6923 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.1601, allocations: 0.6483 MB / 0.6929 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.1619, allocations: 0.7911 MB / 0.6937 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.1639, allocations: 1.511 MB / 0.6952 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.1643, allocations: 211.9 kB / 0.6954 GB, free: 352 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2793/0.4436, allocations: 0.6012 MB / 0.6959 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.4448, allocations: 0.7979 MB / 0.6967 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.4452, allocations: 119.6 kB / 0.6968 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.4457, allocations: 232.7 kB / 0.6971 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.446, allocations: 307 kB / 0.6974 GB, free: 9.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.4466, allocations: 0.6467 MB / 0.698 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.4484, allocations: 1.601 MB / 0.6996 GB, free: 8.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4484, allocations: 0 / 0.6996 GB, free: 8.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4484, allocations: 2.906 kB / 0.6996 GB, free: 8.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.762e-05/0.4484, allocations: 0.6875 kB / 0.6996 GB, free: 8.973 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008388/0.4568, allocations: 2.686 MB / 0.7022 GB, free: 8.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4569, allocations: 12.94 kB / 0.7022 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.457, allocations: 130 kB / 0.7023 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/0.4611, allocations: 0.6916 MB / 0.703 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.4624, allocations: 0.8129 MB / 0.7038 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.4627, allocations: 348.3 kB / 0.7041 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.4628, allocations: 79.12 kB / 0.7042 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.4654, allocations: 1.202 MB / 0.7054 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.4654, allocations: 0 / 0.7054 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/0.4655, allocations: 30.23 kB / 0.7054 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.4655, allocations: 18.39 kB / 0.7054 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.4681, allocations: 1.169 MB / 0.7066 GB, free: 7.172 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.00613/0.4742, allocations: 3.798 MB / 0.7103 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00741/0.4816, allocations: 2.487 MB / 0.7127 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.4836, allocations: 0.7517 MB / 0.7134 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.4837, allocations: 17.45 kB / 0.7134 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4838, allocations: 52.03 kB / 0.7135 GB, free: 3.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.4838, allocations: 0 / 0.7135 GB, free: 3.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=100): time 0.03714/0.5209, allocations: 9.069 MB / 0.7223 GB, free: 1.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5209, allocations: 87.64 kB / 0.7224 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.5222, allocations: 0.9065 MB / 0.7233 GB, free: 432 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.5225, allocations: 45.48 kB / 0.7234 GB, free: 384 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.5227, allocations: 480.3 kB / 0.7238 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/0.5232, allocations: 376.3 kB / 0.7242 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.5236, allocations: 168 kB / 0.7243 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5237, allocations: 345.9 kB / 0.7247 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.5255, allocations: 0.7014 MB / 0.7253 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.5275, allocations: 0.8605 MB / 0.7262 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.5311, allocations: 1.58 MB / 0.7277 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5311, allocations: 1 kB / 0.7277 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01613/0.5473, allocations: 4.561 MB / 0.7322 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5473, allocations: 6.562 kB / 0.7322 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5473, allocations: 3.375 kB / 0.7322 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008075/0.5554, allocations: 2.291 MB / 0.7344 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.5562, allocations: 161.8 kB / 0.7346 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/0.5858, allocations: 11.11 MB / 0.7454 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.5876, allocations: 184.1 kB / 0.7456 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5877, allocations: 39.98 kB / 0.7456 GB, free: 1.613 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 (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.0005209/0.5882, allocations: 236.6 kB / 0.7459 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.5885, allocations: 127.2 kB / 0.746 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.6042, allocations: 4.474 MB / 0.7504 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.6042, allocations: 12 kB / 0.7504 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6042, allocations: 0 / 0.7504 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/0.6042, allocations: 15.91 kB / 0.7504 GB, free: 12.77 MB / 0.5137 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.01837/0.6226, allocations: 6.147 MB / 0.7564 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.6226, allocations: 7.984 kB / 0.7564 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.6232, allocations: 111.3 kB / 0.7565 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007914/0.6312, allocations: 2.165 MB / 0.7586 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.6314, allocations: 23.98 kB / 0.7586 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02651/0.6579, allocations: 9.856 MB / 0.7683 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6579, allocations: 0 / 0.7683 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.6764, allocations: 5.6 MB / 0.7737 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005122/0.6769, allocations: 220 kB / 0.7739 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.6771, allocations: 16 kB / 0.774 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6783, allocations: 123.9 kB / 0.7741 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007872/0.6791, allocations: 238.1 kB / 0.7743 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/0.6791, allocations: 20 kB / 0.7743 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008824/0.68, allocations: 0.631 MB / 0.7749 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.68, allocations: 0 / 0.7749 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001391/0.6814, allocations: 455.7 kB / 0.7754 GB, free: 2.973 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 (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.01885/0.7003, allocations: 6.172 MB / 0.7814 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008464/0.7087, allocations: 2.548 MB / 0.7839 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7087, allocations: 0 / 0.7839 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/0.7149, allocations: 1.734 MB / 0.7856 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.716, allocations: 112.2 kB / 0.7857 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0442/0.7602, allocations: 16.19 MB / 0.8015 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.7609, allocations: 1.091 MB / 0.8026 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004184/0.7613, allocations: 94.98 kB / 0.8027 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/0.7619, allocations: 435.3 kB / 0.8031 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7619, allocations: 4 kB / 0.8031 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08035/0.8423, allocations: 39.23 MB / 0.8414 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.62, allocations: 10.62 kB / 0.8414 GB, free: 15.42 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.68338981299894] Failed to read output from testmodel.py, exit status != 0: 14.727037775010103 14.749776029 14.297299469 Calling exit ...