Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001723/0.001723, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.488/1.488, allocations: 230.6 MB / 252.7 MB, free: 8.055 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.001559/0.001559, allocations: 216.9 kB / 309.2 MB, free: 2.957 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.6139/0.6139, allocations: 107.2 MB / 472.8 MB, free: 4.508 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.VSource,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_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.003511/0.003511, allocations: 83.88 kB / 0.633 GB, free: 5.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5269, allocations: 80.14 MB / 0.7113 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.006194/0.5331, allocations: 5.599 MB / 0.7168 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.5378, allocations: 1.791 MB / 0.7185 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009915/0.5388, allocations: 7.844 kB / 0.7185 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.5396, allocations: 242.7 kB / 0.7188 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.5414, allocations: 0.6175 MB / 0.7194 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.5432, allocations: 0.7116 MB / 0.7201 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.545, allocations: 1.449 MB / 0.7215 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.5453, allocations: 192.3 kB / 0.7217 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.5461, allocations: 0.5996 MB / 0.7222 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008975/0.547, allocations: 0.691 MB / 0.7229 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.5471, allocations: 112.6 kB / 0.723 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.5476, allocations: 222.3 kB / 0.7232 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.5479, allocations: 297.8 kB / 0.7235 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.5484, allocations: 0.5132 MB / 0.724 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.5504, allocations: 1.551 MB / 0.7255 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5504, allocations: 1.125 kB / 0.7255 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5504, allocations: 0 / 0.7255 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.627e-05/0.5504, allocations: 0 / 0.7255 GB, free: 11.66 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.009527/0.5599, allocations: 2.545 MB / 0.728 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.56, allocations: 9.5 kB / 0.728 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.5602, allocations: 128.4 kB / 0.7282 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/0.5651, allocations: 0.689 MB / 0.7288 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.5667, allocations: 0.7254 MB / 0.7295 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/0.5672, allocations: 455.3 kB / 0.73 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.5674, allocations: 71.81 kB / 0.73 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.5701, allocations: 1.162 MB / 0.7312 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.5701, allocations: 1.844 kB / 0.7312 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5702, allocations: 29.03 kB / 0.7312 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.5702, allocations: 18.98 kB / 0.7312 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.5731, allocations: 1.077 MB / 0.7323 GB, free: 8.516 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.007335/0.5804, allocations: 3.036 MB / 0.7352 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007632/0.588, allocations: 1.961 MB / 0.7372 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.5898, allocations: 0.6821 MB / 0.7378 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.5899, allocations: 19.95 kB / 0.7378 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.59, allocations: 39.19 kB / 0.7379 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 3.316e-06/0.59, allocations: 5.031 kB / 0.7379 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03772/0.6277, allocations: 8.414 MB / 0.7461 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.6278, allocations: 91.22 kB / 0.7462 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.6293, allocations: 0.9177 MB / 0.7471 GB, free: 240 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002773/0.6296, allocations: 40.64 kB / 0.7471 GB, free: 196 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.6301, allocations: 480.3 kB / 0.7476 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/0.6307, allocations: 333.2 kB / 0.7479 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.6311, allocations: 163.8 kB / 0.7481 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6313, allocations: 343.1 kB / 0.7484 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.6331, allocations: 0.6581 MB / 0.749 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.6351, allocations: 0.8113 MB / 0.7498 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.6389, allocations: 1.498 MB / 0.7513 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.6389, allocations: 0.9375 kB / 0.7513 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01719/0.6561, allocations: 4.477 MB / 0.7557 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.6562, allocations: 8 kB / 0.7557 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.6562, allocations: 4 kB / 0.7557 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008818/0.665, allocations: 2.302 MB / 0.7579 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.6658, allocations: 131.8 kB / 0.758 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03218/0.6979, allocations: 10.78 MB / 0.7686 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.6998, allocations: 171.3 kB / 0.7687 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.6999, allocations: 35.98 kB / 0.7688 GB, free: 11.99 MB / 0.5294 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.0004965/0.7004, allocations: 229.7 kB / 0.769 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.7007, allocations: 119.2 kB / 0.7691 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/0.7177, allocations: 4.407 MB / 0.7734 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.7177, allocations: 8 kB / 0.7734 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7177, allocations: 0 / 0.7734 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/0.7177, allocations: 3.984 kB / 0.7734 GB, free: 7.199 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.01935/0.7371, allocations: 5.404 MB / 0.7787 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.7371, allocations: 0 / 0.7787 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.7376, allocations: 87.83 kB / 0.7788 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00854/0.7462, allocations: 2.155 MB / 0.7809 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.7464, allocations: 16 kB / 0.7809 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02814/0.7745, allocations: 9.535 MB / 0.7902 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7745, allocations: 7.938 kB / 0.7902 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/0.794, allocations: 5.429 MB / 0.7955 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/0.7946, allocations: 135 kB / 0.7956 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.7948, allocations: 23.94 kB / 0.7957 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.7961, allocations: 99.88 kB / 0.7958 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009165/0.797, allocations: 232.7 kB / 0.796 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.7971, allocations: 27.98 kB / 0.796 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001036/0.7981, allocations: 0.6346 MB / 0.7966 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7981, allocations: 0 / 0.7966 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001568/0.7997, allocations: 439.7 kB / 0.797 GB, free: 14.77 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 (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.01928/0.819, allocations: 5.995 MB / 0.8029 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008438/0.8274, allocations: 2.437 MB / 0.8053 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.8274, allocations: 0 / 0.8053 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006321/0.8337, allocations: 1.677 MB / 0.8069 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.8347, allocations: 92.31 kB / 0.807 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04608/0.8808, allocations: 15.89 MB / 0.8225 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.8814, allocations: 493.2 kB / 0.823 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004579/0.8818, allocations: 78.7 kB / 0.8231 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/0.8824, allocations: 423.2 kB / 0.8235 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of SimCode: time 1.613e-06/0.8824, allocations: 0 / 0.8235 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/1.017, allocations: 39.33 MB / 0.8619 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.87, allocations: 9.562 kB / 0.8619 GB, free: 12.19 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.482369096018374] Failed to read output from testmodel.py, exit status != 0: 15.01678456692025 15.044968363 14.488937823 Calling exit ...