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.00189/0.00189, allocations: 103.9 kB / 16.45 MB, free: 6.449 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.515/1.515, allocations: 230.6 MB / 249.8 MB, free: 9.23 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.001584/0.001584, allocations: 217.4 kB / 306 MB, free: 4.316 MB / 238.1 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.5464/0.5464, allocations: 101.3 MB / 463.4 MB, free: 11.9 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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: 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.00255/0.00255, allocations: 85.59 kB / 0.6193 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1492, allocations: 78.57 MB / 0.696 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.2844/0.4336, allocations: 6.367 MB / 0.7023 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.4376, allocations: 1.886 MB / 0.7041 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/0.4383, allocations: 9.469 kB / 0.7041 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.4388, allocations: 244.2 kB / 0.7043 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4402, allocations: 0.6164 MB / 0.7049 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.4416, allocations: 0.7391 MB / 0.7057 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.4431, allocations: 1.459 MB / 0.7071 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.4434, allocations: 201.8 kB / 0.7073 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006683/0.4441, allocations: 0.5981 MB / 0.7079 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007346/0.4448, allocations: 0.7626 MB / 0.7086 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.445, allocations: 113.3 kB / 0.7087 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.4454, allocations: 228.3 kB / 0.7089 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.4456, allocations: 290.5 kB / 0.7092 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.446, allocations: 0.6289 MB / 0.7098 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.4475, allocations: 1.544 MB / 0.7113 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4475, allocations: 4 kB / 0.7113 GB, free: 160 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4475, allocations: 0 / 0.7113 GB, free: 160 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.4475, allocations: 0 / 0.7113 GB, free: 160 kB / 494.1 MB 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.00945/0.457, allocations: 2.621 MB / 0.7139 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.457, allocations: 8.125 kB / 0.7139 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.4572, allocations: 123.6 kB / 0.714 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.4618, allocations: 0.6847 MB / 0.7147 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.4632, allocations: 0.7985 MB / 0.7155 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/0.4636, allocations: 347.4 kB / 0.7158 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.4638, allocations: 73.59 kB / 0.7159 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.4666, allocations: 1.163 MB / 0.717 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4666, allocations: 0 / 0.717 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.4667, allocations: 30.59 kB / 0.717 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.4667, allocations: 17.75 kB / 0.7171 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.4696, allocations: 1.097 MB / 0.7181 GB, free: 12.98 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.00779/0.4774, allocations: 3.867 MB / 0.7219 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008662/0.486, allocations: 2.405 MB / 0.7243 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.488, allocations: 0.6851 MB / 0.7249 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.4881, allocations: 22.42 kB / 0.7249 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4882, allocations: 51.03 kB / 0.725 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.4882, allocations: 3.938 kB / 0.725 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03823/0.5264, allocations: 8.495 MB / 0.7333 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.5265, allocations: 92.02 kB / 0.7334 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.528, allocations: 0.9162 MB / 0.7343 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.5283, allocations: 41.92 kB / 0.7343 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.5287, allocations: 471.3 kB / 0.7348 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/0.5292, allocations: 332.8 kB / 0.7351 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.5296, allocations: 164.9 kB / 0.7352 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5297, allocations: 342.2 kB / 0.7356 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.5314, allocations: 0.6615 MB / 0.7362 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.5333, allocations: 0.8167 MB / 0.737 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003576/0.5368, allocations: 1.494 MB / 0.7385 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.5368, allocations: 3.906 kB / 0.7385 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01715/0.554, allocations: 4.474 MB / 0.7428 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.554, allocations: 7.312 kB / 0.7428 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.554, allocations: 4.344 kB / 0.7428 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008725/0.5628, allocations: 2.296 MB / 0.7451 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/0.5636, allocations: 128.8 kB / 0.7452 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03553/0.5991, allocations: 11.13 MB / 0.7561 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.6015, allocations: 171.3 kB / 0.7562 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.6017, allocations: 32 kB / 0.7563 GB, free: 3.754 MB / 0.5137 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.000626/0.6023, allocations: 226.6 kB / 0.7565 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.6028, allocations: 119.2 kB / 0.7566 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/0.6293, allocations: 4.415 MB / 0.7609 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.6293, allocations: 12 kB / 0.7609 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6293, allocations: 1.125 kB / 0.7609 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/0.6293, allocations: 3.984 kB / 0.7609 GB, free: 14.96 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.02685/0.6562, allocations: 6.026 MB / 0.7668 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/0.6562, allocations: 4 kB / 0.7668 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/0.6569, allocations: 83.89 kB / 0.7669 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01207/0.669, allocations: 2.163 MB / 0.769 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003118/0.6693, allocations: 18.91 kB / 0.769 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03051/0.6998, allocations: 9.869 MB / 0.7787 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.6998, allocations: 1.562 kB / 0.7787 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/0.7196, allocations: 5.433 MB / 0.784 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.7202, allocations: 208.2 kB / 0.7842 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.7204, allocations: 19.94 kB / 0.7842 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.7216, allocations: 115.8 kB / 0.7843 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008042/0.7225, allocations: 220.7 kB / 0.7845 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.7225, allocations: 27.98 kB / 0.7845 GB, free: 6.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001016/0.7236, allocations: 0.6308 MB / 0.7852 GB, free: 5.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7236, allocations: 0 / 0.7852 GB, free: 5.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001651/0.7252, allocations: 439.7 kB / 0.7856 GB, free: 5.383 MB / 0.545 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.01961/0.7448, allocations: 5.995 MB / 0.7914 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008732/0.7536, allocations: 2.443 MB / 0.7938 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7536, allocations: 0 / 0.7938 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006478/0.76, allocations: 1.679 MB / 0.7955 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.7611, allocations: 104 kB / 0.7956 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04693/0.8081, allocations: 15.88 MB / 0.8111 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.8088, allocations: 1.069 MB / 0.8121 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.8092, allocations: 78.7 kB / 0.8122 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/0.8098, allocations: 415.3 kB / 0.8126 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.8098, allocations: 4 kB / 0.8126 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08314/0.893, allocations: 37.61 MB / 0.8493 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.24/18.13, allocations: 8.422 kB / 0.8493 GB, free: 3.918 MB / 0.6075 GB " [Timeout remaining time 642] (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: 21.720901254098862] Failed to read output from testmodel.py, exit status != 0: 18.247688498115167 18.27232055 17.81985003 Calling exit ...