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.001297/0.001297, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.427/1.427, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001703/0.001703, allocations: 220.7 kB / 309.2 MB, free: 3.145 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.5455/0.5455, allocations: 101.4 MB / 467 MB, free: 10.35 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="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: 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.002579/0.002579, allocations: 92.95 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4259, allocations: 78.6 MB / 0.7012 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006159/0.432, allocations: 6.684 MB / 0.7077 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.4359, allocations: 2.001 MB / 0.7097 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.4365, allocations: 10.41 kB / 0.7097 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.437, allocations: 251.2 kB / 0.7099 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.4383, allocations: 0.6435 MB / 0.7106 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.4399, allocations: 0.7579 MB / 0.7113 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.4415, allocations: 1.513 MB / 0.7128 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.4418, allocations: 209.6 kB / 0.713 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.4425, allocations: 0.6243 MB / 0.7136 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008654/0.4434, allocations: 0.8016 MB / 0.7144 GB, free: 464 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.4436, allocations: 116.9 kB / 0.7145 GB, free: 464 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.444, allocations: 241.1 kB / 0.7147 GB, free: 424 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.4442, allocations: 308.3 kB / 0.715 GB, free: 216 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.4449, allocations: 0.6452 MB / 0.7156 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.4472, allocations: 1.609 MB / 0.7172 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4472, allocations: 3.031 kB / 0.7172 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4472, allocations: 0 / 0.7172 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.254e-05/0.4472, allocations: 0 / 0.7172 GB, free: 15.05 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.009286/0.4565, allocations: 2.619 MB / 0.7198 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4566, allocations: 8.578 kB / 0.7198 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.4568, allocations: 131.7 kB / 0.7199 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.461, allocations: 0.6938 MB / 0.7206 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.4626, allocations: 0.7461 MB / 0.7213 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/0.463, allocations: 455.7 kB / 0.7217 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.4632, allocations: 76.08 kB / 0.7218 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.4659, allocations: 1.209 MB / 0.723 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4659, allocations: 0.625 kB / 0.723 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.466, allocations: 34.91 kB / 0.723 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.466, allocations: 17.72 kB / 0.723 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.4689, allocations: 1.167 MB / 0.7242 GB, free: 11.84 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.00781/0.4767, allocations: 3.763 MB / 0.7279 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007877/0.4846, allocations: 2.028 MB / 0.7298 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.4865, allocations: 0.7513 MB / 0.7306 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.4867, allocations: 11.94 kB / 0.7306 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.4867, allocations: 55.95 kB / 0.7306 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.186e-06/0.4867, allocations: 0 / 0.7306 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.03891/0.5256, allocations: 8.993 MB / 0.7394 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.5257, allocations: 87.39 kB / 0.7395 GB, free: 4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.5273, allocations: 0.9104 MB / 0.7404 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/0.5277, allocations: 44.36 kB / 0.7404 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.5281, allocations: 481.6 kB / 0.7409 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/0.5286, allocations: 367.8 kB / 0.7412 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.529, allocations: 168.5 kB / 0.7414 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.5292, allocations: 346.3 kB / 0.7417 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.531, allocations: 0.7049 MB / 0.7424 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.5329, allocations: 0.8507 MB / 0.7432 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/0.5365, allocations: 1.576 MB / 0.7448 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5365, allocations: 1.438 kB / 0.7448 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01645/0.5529, allocations: 4.566 MB / 0.7492 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.553, allocations: 10.56 kB / 0.7493 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.553, allocations: 7.797 kB / 0.7493 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008232/0.5612, allocations: 2.293 MB / 0.7515 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.5621, allocations: 151.8 kB / 0.7516 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/0.5925, allocations: 11.01 MB / 0.7624 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.5943, allocations: 179.3 kB / 0.7626 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.5944, allocations: 39.98 kB / 0.7626 GB, free: 1.098 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.0005195/0.5949, allocations: 233.7 kB / 0.7628 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.5952, allocations: 123.2 kB / 0.7629 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/0.6112, allocations: 4.478 MB / 0.7673 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.6112, allocations: 12 kB / 0.7673 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6112, allocations: 0 / 0.7673 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.6113, allocations: 3.984 kB / 0.7673 GB, free: 12.22 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.01878/0.63, allocations: 6.123 MB / 0.7733 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.6301, allocations: 3.984 kB / 0.7733 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.6307, allocations: 107.9 kB / 0.7734 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008006/0.6387, allocations: 2.167 MB / 0.7755 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.639, allocations: 23.98 kB / 0.7756 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0272/0.6662, allocations: 9.755 MB / 0.7851 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.6662, allocations: 4 kB / 0.7851 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/0.6849, allocations: 5.593 MB / 0.7906 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.6854, allocations: 147 kB / 0.7907 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.6856, allocations: 16 kB / 0.7907 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.6869, allocations: 127.8 kB / 0.7908 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/0.6877, allocations: 252.5 kB / 0.7911 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.6878, allocations: 24 kB / 0.7911 GB, free: 3.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009309/0.6887, allocations: 0.6309 MB / 0.7917 GB, free: 2.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6887, allocations: 0 / 0.7917 GB, free: 2.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00152/0.6902, allocations: 459.6 kB / 0.7921 GB, free: 2.52 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.01922/0.7094, allocations: 6.166 MB / 0.7982 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008448/0.7179, allocations: 2.543 MB / 0.8007 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7179, allocations: 4.062 kB / 0.8007 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006266/0.7242, allocations: 1.731 MB / 0.8023 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.7253, allocations: 108.2 kB / 0.8025 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04622/0.7715, allocations: 16.19 MB / 0.8183 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.7723, allocations: 1.091 MB / 0.8193 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004613/0.7728, allocations: 94.98 kB / 0.8194 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/0.7735, allocations: 439.3 kB / 0.8198 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/0.7735, allocations: 0 / 0.8198 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09514/0.8686, allocations: 39.81 MB / 0.8587 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.09, allocations: 7.156 kB / 0.8587 GB, free: 14.11 MB / 0.6231 GB " [Timeout remaining time 644] (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: 19.45916054607369] Failed to read output from testmodel.py, exit status != 0: 16.232794434065 16.258520218 15.807877544 Calling exit ...