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.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.001338/0.001338, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.366/1.366, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.001526/0.001526, allocations: 213.4 kB / 306.7 MB, free: 4.297 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.522/0.522, allocations: 101.3 MB / 464.1 MB, free: 11.93 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.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="cs",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.002531/0.002531, allocations: 85.59 kB / 0.62 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.143, allocations: 78.56 MB / 0.6967 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.3091/0.4521, allocations: 6.64 MB / 0.7032 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.4562, allocations: 2.004 MB / 0.7051 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.457, allocations: 9.469 kB / 0.7051 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.4576, allocations: 245 kB / 0.7054 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.4589, allocations: 0.6413 MB / 0.706 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4604, allocations: 0.7646 MB / 0.7067 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.4621, allocations: 1.513 MB / 0.7082 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.4625, allocations: 213.1 kB / 0.7084 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007324/0.4632, allocations: 0.6226 MB / 0.709 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.464, allocations: 0.7938 MB / 0.7098 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.4642, allocations: 123.2 kB / 0.7099 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.4646, allocations: 240 kB / 0.7102 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.4649, allocations: 310.5 kB / 0.7104 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.4653, allocations: 0.6463 MB / 0.7111 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.467, allocations: 1.608 MB / 0.7126 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.467, allocations: 0 / 0.7126 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.467, allocations: 0 / 0.7126 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.467, allocations: 0 / 0.7126 GB, free: 15.78 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009023/0.476, allocations: 2.698 MB / 0.7153 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4761, allocations: 9.938 kB / 0.7153 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.931e-05/0.4761, allocations: 23.72 kB / 0.7153 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.4763, allocations: 126.9 kB / 0.7154 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/0.4806, allocations: 0.6871 MB / 0.7161 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.4819, allocations: 0.8176 MB / 0.7169 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.4823, allocations: 348.2 kB / 0.7172 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.4825, allocations: 82.31 kB / 0.7173 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.4851, allocations: 1.2 MB / 0.7185 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4851, allocations: 0.8125 kB / 0.7185 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.4852, allocations: 30.38 kB / 0.7185 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4852, allocations: 19.77 kB / 0.7185 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.4882, allocations: 1.166 MB / 0.7197 GB, free: 12.55 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.007278/0.4954, allocations: 3.805 MB / 0.7234 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.5036, allocations: 2.487 MB / 0.7258 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.5056, allocations: 0.754 MB / 0.7266 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.5057, allocations: 20.81 kB / 0.7266 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.5057, allocations: 40.73 kB / 0.7266 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.986e-06/0.5057, allocations: 0 / 0.7266 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.03925/0.545, allocations: 9.083 MB / 0.7355 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.5451, allocations: 88.58 kB / 0.7356 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.5465, allocations: 0.9124 MB / 0.7365 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.5468, allocations: 40.98 kB / 0.7365 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.5472, allocations: 485.4 kB / 0.737 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.5476, allocations: 363.8 kB / 0.7373 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.548, allocations: 172.6 kB / 0.7375 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5482, allocations: 347.1 kB / 0.7378 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.55, allocations: 0.7006 MB / 0.7385 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5519, allocations: 0.8535 MB / 0.7393 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.5555, allocations: 1.581 MB / 0.7409 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5556, allocations: 1.156 kB / 0.7409 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01648/0.572, allocations: 4.566 MB / 0.7453 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5721, allocations: 5.5 kB / 0.7453 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.5721, allocations: 4.125 kB / 0.7453 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008384/0.5805, allocations: 2.286 MB / 0.7476 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.5814, allocations: 166 kB / 0.7477 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03113/0.6125, allocations: 11.11 MB / 0.7586 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.6145, allocations: 187.2 kB / 0.7588 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.6146, allocations: 39.98 kB / 0.7588 GB, free: 1.91 MB / 0.5137 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.0005345/0.6152, allocations: 229.7 kB / 0.759 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.6154, allocations: 124.3 kB / 0.7591 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.6319, allocations: 4.478 MB / 0.7635 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.6319, allocations: 8 kB / 0.7635 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6319, allocations: 4 kB / 0.7635 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/0.6319, allocations: 7.969 kB / 0.7635 GB, free: 13.04 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.01904/0.651, allocations: 6.143 MB / 0.7695 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.651, allocations: 0 / 0.7695 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.6516, allocations: 115.8 kB / 0.7696 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008103/0.6597, allocations: 2.175 MB / 0.7718 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/0.66, allocations: 16 kB / 0.7718 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/0.6871, allocations: 9.862 MB / 0.7814 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6871, allocations: 0 / 0.7814 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/0.706, allocations: 5.608 MB / 0.7869 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.7065, allocations: 216.1 kB / 0.7871 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.7067, allocations: 27.94 kB / 0.7871 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.708, allocations: 111.9 kB / 0.7872 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008176/0.7088, allocations: 244.6 kB / 0.7874 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.7089, allocations: 24 kB / 0.7875 GB, free: 4.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000915/0.7098, allocations: 0.6271 MB / 0.7881 GB, free: 3.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7098, allocations: 0 / 0.7881 GB, free: 3.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001446/0.7113, allocations: 455.7 kB / 0.7885 GB, free: 3.094 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 (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.01972/0.731, allocations: 6.166 MB / 0.7945 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008742/0.7397, allocations: 2.552 MB / 0.797 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7397, allocations: 0 / 0.797 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006393/0.7461, allocations: 1.735 MB / 0.7987 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.7472, allocations: 109.2 kB / 0.7988 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04582/0.793, allocations: 16.18 MB / 0.8146 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/0.7938, allocations: 1.095 MB / 0.8157 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004954/0.7943, allocations: 95.03 kB / 0.8158 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.795, allocations: 439.3 kB / 0.8162 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/0.795, allocations: 0 / 0.8162 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07803/0.873, allocations: 38.85 MB / 0.8542 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.85, allocations: 19.02 kB / 0.8542 GB, free: 15.68 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.313743864011485] Failed to read output from testmodel.py, exit status != 0: 15.021671404014342 15.046366858 14.574904138 Calling exit ...