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.001203/0.001203, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.506/1.506, allocations: 222.9 MB / 239 MB, free: 4.742 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.001574/0.001574, allocations: 196.4 kB / 289.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6176/0.6176, allocations: 91.91 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4986, allocations: 71.26 MB / 0.5711 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.007059/0.5057, allocations: 6.445 MB / 0.5774 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.5098, allocations: 1.819 MB / 0.5791 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008897/0.5107, allocations: 11.44 kB / 0.5792 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000684/0.5114, allocations: 193.2 kB / 0.5793 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.513, allocations: 483.3 kB / 0.5798 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.5147, allocations: 0.706 MB / 0.5805 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.5164, allocations: 1.353 MB / 0.5818 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.5169, allocations: 293.4 kB / 0.5821 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006755/0.5176, allocations: 0.5485 MB / 0.5826 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006684/0.5183, allocations: 0.7057 MB / 0.5833 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.5184, allocations: 104.2 kB / 0.5834 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.5189, allocations: 217.2 kB / 0.5836 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.5191, allocations: 278.2 kB / 0.5839 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.5196, allocations: 0.596 MB / 0.5845 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.5209, allocations: 1.438 MB / 0.5859 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5209, allocations: 1.438 kB / 0.5859 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5209, allocations: 0 / 0.5859 GB, free: 28.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.5209, allocations: 0 / 0.5859 GB, free: 28.23 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.008724/0.5297, allocations: 2.503 MB / 0.5883 GB, free: 27.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.5298, allocations: 9.875 kB / 0.5883 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.5299, allocations: 119.7 kB / 0.5884 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.5342, allocations: 0.6736 MB / 0.5891 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.5355, allocations: 0.7388 MB / 0.5898 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.5359, allocations: 343.2 kB / 0.5902 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.5361, allocations: 74.06 kB / 0.5902 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.5386, allocations: 1.111 MB / 0.5913 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.5387, allocations: 5.031 kB / 0.5913 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5388, allocations: 25.19 kB / 0.5913 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.5388, allocations: 21.7 kB / 0.5914 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.5413, allocations: 1.051 MB / 0.5924 GB, free: 25.22 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.007009/0.5483, allocations: 3.428 MB / 0.5957 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01843/0.5668, allocations: 3.955 MB / 0.5996 GB, free: 22.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.569, allocations: 0.7382 MB / 0.6003 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.5691, allocations: 11.88 kB / 0.6003 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.5692, allocations: 45.03 kB / 0.6004 GB, free: 21.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 3.867e-06/0.5692, allocations: 0 / 0.6004 GB, free: 21.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.04241/0.6116, allocations: 8.46 MB / 0.6086 GB, free: 20.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.6118, allocations: 87.36 kB / 0.6087 GB, free: 20.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.6133, allocations: 0.85 MB / 0.6095 GB, free: 19.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002906/0.6137, allocations: 41.14 kB / 0.6096 GB, free: 19.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.614, allocations: 457.5 kB / 0.61 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.6144, allocations: 305.9 kB / 0.6103 GB, free: 19.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/0.6148, allocations: 161.4 kB / 0.6105 GB, free: 19.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6149, allocations: 342.2 kB / 0.6108 GB, free: 18.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.6166, allocations: 0.64 MB / 0.6114 GB, free: 18.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.6184, allocations: 0.7774 MB / 0.6122 GB, free: 17.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.6218, allocations: 1.434 MB / 0.6136 GB, free: 17.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.6218, allocations: 1.469 kB / 0.6136 GB, free: 17.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01613/0.6379, allocations: 4.303 MB / 0.6178 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.638, allocations: 11.94 kB / 0.6178 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6381, allocations: 4 kB / 0.6178 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/0.6451, allocations: 2.088 MB / 0.6198 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.646, allocations: 123.8 kB / 0.62 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02747/0.6734, allocations: 10.66 MB / 0.6304 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.6755, allocations: 159 kB / 0.6305 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6756, allocations: 36 kB / 0.6305 GB, free: 1.141 MB / 430.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.0005377/0.6761, allocations: 225.7 kB / 0.6308 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.6764, allocations: 106.7 kB / 0.6309 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.692, allocations: 4.27 MB / 0.635 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.6921, allocations: 8 kB / 0.635 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6922, allocations: 3.938 kB / 0.635 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/0.6922, allocations: 7.969 kB / 0.6351 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/0.7108, allocations: 5.683 MB / 0.6406 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.7109, allocations: 4 kB / 0.6406 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.7115, allocations: 79.83 kB / 0.6407 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007495/0.719, allocations: 1.991 MB / 0.6426 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.7192, allocations: 16 kB / 0.6426 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/0.7459, allocations: 9.465 MB / 0.6519 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7459, allocations: 0 / 0.6519 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.7645, allocations: 5.239 MB / 0.657 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/0.7652, allocations: 199.5 kB / 0.6572 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.7654, allocations: 12 kB / 0.6572 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.7668, allocations: 103.9 kB / 0.6573 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009473/0.7677, allocations: 228.6 kB / 0.6575 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.921e-05/0.7678, allocations: 23.98 kB / 0.6575 GB, free: 5.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000916/0.7688, allocations: 0.5791 MB / 0.6581 GB, free: 4.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7688, allocations: 4 kB / 0.6581 GB, free: 4.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001791/0.7706, allocations: 423.6 kB / 0.6585 GB, free: 4.137 MB / 462.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.01845/0.789, allocations: 5.803 MB / 0.6642 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008647/0.7977, allocations: 2.439 MB / 0.6666 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.7978, allocations: 0 / 0.6666 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006381/0.8042, allocations: 1.672 MB / 0.6682 GB, free: 10.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8056, allocations: 91.5 kB / 0.6683 GB, free: 10.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04625/0.8519, allocations: 16.19 MB / 0.6841 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.8526, allocations: 1.057 MB / 0.6851 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004615/0.8531, allocations: 74.31 kB / 0.6852 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.8536, allocations: 403.3 kB / 0.6856 GB, free: 7.934 MB / 494.1 MB Notification: Performance of SimCode: time 1.954e-06/0.8536, allocations: 0 / 0.6856 GB, free: 7.934 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07142/0.925, allocations: 34.12 MB / 0.7189 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.9253, allocations: 231.6 kB / 0.7191 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/3.95, allocations: 3 kB / 0.7191 GB, free: 5.738 MB / 0.5137 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)