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.001015/0.001016, allocations: 99 kB / 15.05 MB, free: 1.105 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.39/1.39, allocations: 223.2 MB / 238.9 MB, free: 5.516 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.001136/0.001136, allocations: 181 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5026/0.5026, allocations: 79.45 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 15.98 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.41, allocations: 69.51 MB / 0.557 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.004806/0.4148, allocations: 5.294 MB / 0.5621 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.4184, allocations: 1.774 MB / 0.5639 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006356/0.419, allocations: 11.69 kB / 0.5639 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.4195, allocations: 169.7 kB / 0.564 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.4209, allocations: 0.5229 MB / 0.5645 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.4224, allocations: 0.635 MB / 0.5652 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.4238, allocations: 0.8847 MB / 0.566 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.4241, allocations: 231.1 kB / 0.5662 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.4247, allocations: 483.2 kB / 0.5667 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006668/0.4253, allocations: 0.6132 MB / 0.5673 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.4255, allocations: 60.16 kB / 0.5674 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.4258, allocations: 147 kB / 0.5675 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.4261, allocations: 222.1 kB / 0.5677 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.4262, allocations: 206.5 kB / 0.5679 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008545/0.4271, allocations: 1.031 MB / 0.5689 GB, free: 35.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4271, allocations: 0 / 0.5689 GB, free: 35.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4271, allocations: 0 / 0.5689 GB, free: 35.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4271, allocations: 0 / 0.5689 GB, free: 35.98 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.007437/0.4346, allocations: 2.357 MB / 0.5712 GB, free: 35.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4346, allocations: 11.12 kB / 0.5712 GB, free: 35.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.4349, allocations: 125.6 kB / 0.5714 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/0.439, allocations: 0.6746 MB / 0.572 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.4402, allocations: 0.7048 MB / 0.5727 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.4405, allocations: 360.4 kB / 0.573 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4406, allocations: 73.53 kB / 0.5731 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4427, allocations: 1.176 MB / 0.5743 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4427, allocations: 4 kB / 0.5743 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.4428, allocations: 30.36 kB / 0.5743 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4428, allocations: 17.09 kB / 0.5743 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.4449, allocations: 1.133 MB / 0.5754 GB, free: 33.48 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.005315/0.4503, allocations: 3.505 MB / 0.5788 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/0.467, allocations: 5.166 MB / 0.5839 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.4673, allocations: 18.7 kB / 0.5839 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.4674, allocations: 45.25 kB / 0.5839 GB, free: 30.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.966e-06/0.4674, allocations: 0 / 0.5839 GB, free: 30.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03989/0.5073, allocations: 10.39 MB / 0.5941 GB, free: 28.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.5074, allocations: 87.48 kB / 0.5942 GB, free: 28.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.5092, allocations: 0.8377 MB / 0.595 GB, free: 28.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.5096, allocations: 41.66 kB / 0.595 GB, free: 28.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.51, allocations: 453.7 kB / 0.5955 GB, free: 27.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.5104, allocations: 306.1 kB / 0.5958 GB, free: 27.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.5105, allocations: 20.88 kB / 0.5958 GB, free: 27.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5106, allocations: 342.6 kB / 0.5961 GB, free: 27.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.5124, allocations: 0.7113 MB / 0.5968 GB, free: 27.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.5142, allocations: 0.8566 MB / 0.5976 GB, free: 26.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.5159, allocations: 0.7587 MB / 0.5984 GB, free: 26.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5159, allocations: 1.281 kB / 0.5984 GB, free: 26.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01727/0.5332, allocations: 5.351 MB / 0.6036 GB, free: 25.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.5332, allocations: 11.75 kB / 0.6036 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.5332, allocations: 4.531 kB / 0.6036 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00825/0.5415, allocations: 2.432 MB / 0.606 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.5423, allocations: 134.2 kB / 0.6061 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02635/0.5686, allocations: 11.66 MB / 0.6175 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.5702, allocations: 203.1 kB / 0.6177 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.5703, allocations: 32 kB / 0.6177 GB, free: 14.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004221/0.5707, allocations: 226.1 kB / 0.618 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.5709, allocations: 120 kB / 0.6181 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.5852, allocations: 5.279 MB / 0.6232 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.5853, allocations: 12.78 kB / 0.6232 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5853, allocations: 0 / 0.6232 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.5853, allocations: 3.984 kB / 0.6232 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.6011, allocations: 6.691 MB / 0.6298 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6012, allocations: 4 kB / 0.6298 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.6016, allocations: 79.91 kB / 0.6299 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006737/0.6084, allocations: 2.336 MB / 0.6321 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.6085, allocations: 19.94 kB / 0.6322 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02626/0.6348, allocations: 10.3 MB / 0.6422 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.74e-05/0.6349, allocations: 4 kB / 0.6422 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/0.6538, allocations: 6.344 MB / 0.6484 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.6544, allocations: 199.6 kB / 0.6486 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.6546, allocations: 16 kB / 0.6486 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6557, allocations: 139.9 kB / 0.6488 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007396/0.6565, allocations: 229.3 kB / 0.649 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.6566, allocations: 23.98 kB / 0.649 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008223/0.6574, allocations: 0.5713 MB / 0.6495 GB, free: 13.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6574, allocations: 0 / 0.6495 GB, free: 13.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001418/0.6588, allocations: 419.6 kB / 0.6499 GB, free: 12.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01793/0.6768, allocations: 6.98 MB / 0.6568 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007797/0.6846, allocations: 2.731 MB / 0.6594 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6846, allocations: 0 / 0.6594 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005729/0.6904, allocations: 1.912 MB / 0.6613 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.6911, allocations: 72.14 kB / 0.6614 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.6961, allocations: 5.165 MB / 0.6664 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.6967, allocations: 1.068 MB / 0.6675 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.697, allocations: 85.88 kB / 0.6675 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.6974, allocations: 399.3 kB / 0.6679 GB, free: 10.39 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6975, allocations: 0 / 0.6679 GB, free: 10.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/0.7475, allocations: 31.25 MB / 0.6984 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.7477, allocations: 213.6 kB / 0.6986 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.416, allocations: 0 / 0.6986 GB, free: 11.27 MB / 0.4981 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/linux/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) Environment - environmentSimulation: