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.0007572/0.0007572, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.92/0.92, allocations: 177.1 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] 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.001511/0.001511, allocations: 156.6 kB / 256 MB, free: 13.36 MB / 250.7 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.2716/0.2716, allocations: 80.36 MB / 392.7 MB, free: 2.387 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5549 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.124e-05, allocations: 6.281 kB / 0.5549 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.006945/0.006966, allocations: 5.595 MB / 0.5604 GB, free: 6.863 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.01131, allocations: 1.798 MB / 0.5622 GB, free: 5.062 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.012, allocations: 8 kB / 0.5622 GB, free: 5.055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.01259, allocations: 238 kB / 0.5624 GB, free: 4.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.01418, allocations: 0.6326 MB / 0.563 GB, free: 4.184 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.01557, allocations: 0.7093 MB / 0.5637 GB, free: 3.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.0168, allocations: 1.497 MB / 0.5652 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.01706, allocations: 199.8 kB / 0.5654 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.01776, allocations: 0.826 MB / 0.5662 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.01824, allocations: 0.5997 MB / 0.5668 GB, free: 348 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01834, allocations: 116 kB / 0.5669 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.0186, allocations: 215.9 kB / 0.5671 GB, free: 16 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.01877, allocations: 306.8 kB / 0.5674 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.01901, allocations: 426.6 kB / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.02, allocations: 1.577 MB / 0.5693 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.02, allocations: 0 / 0.5693 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.143e-06/0.02, allocations: 0 / 0.5693 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.02001, allocations: 0 / 0.5693 GB, free: 13.71 MB / 0.4948 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.004127/0.02414, allocations: 2.534 MB / 0.5718 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.02417, allocations: 8.031 kB / 0.5718 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.02429, allocations: 122.5 kB / 0.5719 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.02626, allocations: 0.6899 MB / 0.5726 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.02706, allocations: 0.7277 MB / 0.5733 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.02733, allocations: 452.1 kB / 0.5737 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.02744, allocations: 76 kB / 0.5738 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.02885, allocations: 1.156 MB / 0.5749 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.02886, allocations: 0 / 0.5749 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.02893, allocations: 35.94 kB / 0.575 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.02894, allocations: 16 kB / 0.575 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.03042, allocations: 1.085 MB / 0.576 GB, free: 6.617 MB / 0.4948 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.003568/0.03398, allocations: 3.038 MB / 0.579 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.0376, allocations: 1.945 MB / 0.5809 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/0.0385, allocations: 0.6878 MB / 0.5816 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.03858, allocations: 12.98 kB / 0.5816 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.0386, allocations: 43.56 kB / 0.5816 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 2.205e-06/0.0386, allocations: 4 kB / 0.5816 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.01779/0.05639, allocations: 8.412 MB / 0.5899 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.05644, allocations: 90.05 kB / 0.5899 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.05726, allocations: 0.9172 MB / 0.5908 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.05733, allocations: 45.7 kB / 0.5909 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.05757, allocations: 469.1 kB / 0.5913 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.05778, allocations: 333.1 kB / 0.5916 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.05801, allocations: 166.6 kB / 0.5918 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.0581, allocations: 341.9 kB / 0.5921 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009389/0.05904, allocations: 0.6617 MB / 0.5928 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.06006, allocations: 0.8136 MB / 0.5936 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.06202, allocations: 1.498 MB / 0.595 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.06203, allocations: 0 / 0.595 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2065/0.2685, allocations: 4.467 MB / 0.5994 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2685, allocations: 6.906 kB / 0.5994 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2685, allocations: 6.562 kB / 0.5994 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.2726, allocations: 2.295 MB / 0.6016 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.273, allocations: 131.2 kB / 0.6018 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.2894, allocations: 10.77 MB / 0.6123 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.2903, allocations: 173.1 kB / 0.6125 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.2903, allocations: 35.5 kB / 0.6125 GB, free: 87.6 MB / 0.5105 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.0002949/0.2906, allocations: 228.9 kB / 0.6127 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2908, allocations: 121.8 kB / 0.6128 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008449/0.2992, allocations: 4.409 MB / 0.6171 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.2992, allocations: 9.656 kB / 0.6171 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2992, allocations: 4 kB / 0.6171 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2992, allocations: 5.641 kB / 0.6171 GB, free: 86.43 MB / 0.5105 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.009842/0.3091, allocations: 5.398 MB / 0.6224 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3091, allocations: 0 / 0.6224 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.3093, allocations: 79.88 kB / 0.6225 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003903/0.3132, allocations: 2.168 MB / 0.6246 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.3133, allocations: 16.38 kB / 0.6246 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/0.3269, allocations: 9.538 MB / 0.6339 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3269, allocations: 3.938 kB / 0.6339 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008556/0.3355, allocations: 5.411 MB / 0.6392 GB, free: 77.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.3356, allocations: 143.2 kB / 0.6394 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.3357, allocations: 15.94 kB / 0.6394 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.3363, allocations: 110.3 kB / 0.6395 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/0.3366, allocations: 230.1 kB / 0.6397 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.3367, allocations: 30.11 kB / 0.6397 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004654/0.3372, allocations: 0.6246 MB / 0.6403 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3372, allocations: 0 / 0.6403 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008715/0.338, allocations: 447 kB / 0.6408 GB, free: 76.56 MB / 0.5105 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.008439/0.3465, allocations: 5.989 MB / 0.6466 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003966/0.3504, allocations: 2.429 MB / 0.649 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3504, allocations: 4 kB / 0.649 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.3532, allocations: 1.673 MB / 0.6506 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.3537, allocations: 98.97 kB / 0.6507 GB, free: 66.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.3744, allocations: 15.78 MB / 0.6661 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3746, allocations: 481.3 kB / 0.6666 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.3748, allocations: 86.31 kB / 0.6667 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.3751, allocations: 417.7 kB / 0.6671 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.3751, allocations: 1.969 kB / 0.6671 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04084/0.4159, allocations: 39.55 MB / 0.7057 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.758, allocations: 0 / 0.7057 GB, free: 10.23 MB / 0.5105 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 11.093156748451293] Failed to read output from testmodel.py, exit status != 0: 8.864923352375627 8.872453192 8.850777532 Calling exit ...