Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.00106, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 239.4 MB, free: 5.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009475/0.0009474, allocations: 187.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5533/0.5533, allocations: 91.92 MB / 433.7 MB, free: 10.32 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 12 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 72.47 MB / 0.5756 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.004291/0.337, allocations: 5.98 MB / 0.5815 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3398, allocations: 1.815 MB / 0.5833 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.3401, allocations: 12.09 kB / 0.5833 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.3405, allocations: 181.4 kB / 0.5834 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009591/0.3415, allocations: 491 kB / 0.5839 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3427, allocations: 0.7119 MB / 0.5846 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009721/0.3437, allocations: 1.303 MB / 0.5859 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.344, allocations: 254.5 kB / 0.5861 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.3444, allocations: 491.2 kB / 0.5866 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.3449, allocations: 0.6467 MB / 0.5872 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3451, allocations: 60.38 kB / 0.5873 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.3454, allocations: 165.6 kB / 0.5874 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3455, allocations: 220.3 kB / 0.5876 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.3459, allocations: 0.5658 MB / 0.5882 GB, free: 29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.3468, allocations: 1.367 MB / 0.5895 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3468, allocations: 0 / 0.5895 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3468, allocations: 4 kB / 0.5895 GB, free: 28.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3468, allocations: 0 / 0.5895 GB, free: 28.47 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007647/0.3545, allocations: 2.34 MB / 0.5918 GB, free: 27.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3545, allocations: 9.875 kB / 0.5918 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.3547, allocations: 122.4 kB / 0.5919 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.3589, allocations: 0.6793 MB / 0.5926 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009115/0.3598, allocations: 0.7457 MB / 0.5933 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.3601, allocations: 357.7 kB / 0.5937 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.3603, allocations: 74.34 kB / 0.5937 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.3626, allocations: 1.19 MB / 0.5949 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3627, allocations: 0 / 0.5949 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.3628, allocations: 25.84 kB / 0.5949 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3628, allocations: 16.53 kB / 0.5949 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.3652, allocations: 1.138 MB / 0.5961 GB, free: 25.57 MB / 430.1 MB 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.005542/0.3707, allocations: 3.505 MB / 0.5995 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/0.3893, allocations: 5.176 MB / 0.6045 GB, free: 22.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.3912, allocations: 0.8176 MB / 0.6053 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3913, allocations: 19.83 kB / 0.6054 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3913, allocations: 44.5 kB / 0.6054 GB, free: 22.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.344e-06/0.3914, allocations: 0 / 0.6054 GB, free: 22.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.04127/0.4326, allocations: 10.46 MB / 0.6156 GB, free: 20.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4327, allocations: 86.8 kB / 0.6157 GB, free: 20 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4339, allocations: 0.8494 MB / 0.6165 GB, free: 19.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.434, allocations: 37.7 kB / 0.6166 GB, free: 19.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.4343, allocations: 460.5 kB / 0.617 GB, free: 18.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.4345, allocations: 303.5 kB / 0.6173 GB, free: 18.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4346, allocations: 81.67 kB / 0.6174 GB, free: 18.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.4347, allocations: 345.9 kB / 0.6177 GB, free: 18.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.4362, allocations: 0.7164 MB / 0.6184 GB, free: 17.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.4377, allocations: 0.8627 MB / 0.6192 GB, free: 16.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.4407, allocations: 1.594 MB / 0.6208 GB, free: 14.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4407, allocations: 0 / 0.6208 GB, free: 14.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01556/0.4563, allocations: 5.328 MB / 0.626 GB, free: 9.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4563, allocations: 8 kB / 0.626 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4563, allocations: 4 kB / 0.626 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007363/0.4637, allocations: 2.432 MB / 0.6284 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.4645, allocations: 123.8 kB / 0.6285 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0326/0.4971, allocations: 11.1 MB / 0.6393 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.4995, allocations: 210.9 kB / 0.6395 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.4997, allocations: 35.94 kB / 0.6396 GB, free: 11.51 MB / 446.1 MB 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 (77): * Single equations (assignments): 76 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000687/0.5004, allocations: 229.6 kB / 0.6398 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.5007, allocations: 106.7 kB / 0.6399 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02613/0.5269, allocations: 5.298 MB / 0.6451 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.527, allocations: 8 kB / 0.6451 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.527, allocations: 8 kB / 0.6451 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/0.527, allocations: 7.984 kB / 0.6451 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/0.5543, allocations: 6.71 MB / 0.6516 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.5544, allocations: 0 / 0.6516 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.5549, allocations: 75.91 kB / 0.6517 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00771/0.5626, allocations: 2.335 MB / 0.654 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.5628, allocations: 20 kB / 0.654 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/0.5879, allocations: 9.763 MB / 0.6635 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.588, allocations: 3.984 kB / 0.6635 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/0.6074, allocations: 6.341 MB / 0.6697 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.6078, allocations: 203.5 kB / 0.6699 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.608, allocations: 23.92 kB / 0.67 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6092, allocations: 143.9 kB / 0.6701 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006749/0.6099, allocations: 216.5 kB / 0.6703 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.61, allocations: 27.98 kB / 0.6703 GB, free: 11.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007572/0.6107, allocations: 0.5752 MB / 0.6709 GB, free: 11.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6107, allocations: 4 kB / 0.6709 GB, free: 11.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001217/0.612, allocations: 419.6 kB / 0.6713 GB, free: 10.67 MB / 478.1 MB 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01959/0.6315, allocations: 6.901 MB / 0.678 GB, free: 3.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008607/0.6402, allocations: 2.75 MB / 0.6807 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6402, allocations: 0 / 0.6807 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006401/0.6466, allocations: 1.908 MB / 0.6826 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6478, allocations: 94.23 kB / 0.6827 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04651/0.6944, allocations: 18.37 MB / 0.7006 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.6951, allocations: 1.049 MB / 0.7016 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.6955, allocations: 78.3 kB / 0.7017 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/0.696, allocations: 403.3 kB / 0.7021 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.696, allocations: 0 / 0.7021 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.7499, allocations: 32.06 MB / 0.7334 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.7502, allocations: 234.6 kB / 0.7336 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.508, allocations: 0 / 0.7336 GB, free: 10.52 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)