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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239.3 MB, free: 4.641 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.001283/0.001283, allocations: 184.5 kB / 289.6 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5464/0.5464, allocations: 91.91 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 75.89 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3073, allocations: 71.26 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.004881/0.3122, allocations: 6.074 MB / 0.5775 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.3149, allocations: 1.785 MB / 0.5792 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.3152, allocations: 11.94 kB / 0.5793 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.3157, allocations: 232.5 kB / 0.5795 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009633/0.3167, allocations: 0.5396 MB / 0.58 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.318, allocations: 0.7622 MB / 0.5807 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.3189, allocations: 1.354 MB / 0.5821 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.3193, allocations: 293.3 kB / 0.5823 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.3197, allocations: 0.5443 MB / 0.5829 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.3203, allocations: 0.7023 MB / 0.5836 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.3204, allocations: 106.8 kB / 0.5837 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.3208, allocations: 219.4 kB / 0.5839 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3209, allocations: 280.7 kB / 0.5841 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.3213, allocations: 0.5853 MB / 0.5847 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009419/0.3222, allocations: 1.443 MB / 0.5861 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3223, allocations: 0 / 0.5861 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3223, allocations: 5.188 kB / 0.5861 GB, free: 28.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3223, allocations: 4 kB / 0.5861 GB, free: 28.46 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.007841/0.3301, allocations: 2.494 MB / 0.5886 GB, free: 27.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3302, allocations: 10.31 kB / 0.5886 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.3303, allocations: 122.8 kB / 0.5887 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/0.3346, allocations: 0.6745 MB / 0.5894 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/0.3355, allocations: 0.7375 MB / 0.5901 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.3358, allocations: 340.7 kB / 0.5904 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.3359, allocations: 81.89 kB / 0.5905 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.338, allocations: 1.104 MB / 0.5916 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.338, allocations: 3.938 kB / 0.5916 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.3381, allocations: 30.12 kB / 0.5916 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.3382, allocations: 20.81 kB / 0.5916 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.3404, allocations: 1.05 MB / 0.5926 GB, free: 25.46 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.005417/0.3458, allocations: 3.427 MB / 0.596 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/0.3626, allocations: 3.948 MB / 0.5998 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.3643, allocations: 0.735 MB / 0.6006 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.3645, allocations: 12.81 kB / 0.6006 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3645, allocations: 43.58 kB / 0.6006 GB, free: 22.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.925e-06/0.3645, allocations: 4 kB / 0.6006 GB, free: 22.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03727/0.4018, allocations: 8.461 MB / 0.6089 GB, free: 20.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.4019, allocations: 90.58 kB / 0.609 GB, free: 20.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.4034, allocations: 0.8502 MB / 0.6098 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.4036, allocations: 41.02 kB / 0.6098 GB, free: 19.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.4038, allocations: 449.9 kB / 0.6103 GB, free: 19.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.4041, allocations: 309.7 kB / 0.6106 GB, free: 19.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.4044, allocations: 157.7 kB / 0.6107 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.4044, allocations: 345.8 kB / 0.611 GB, free: 18.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.4059, allocations: 0.6389 MB / 0.6117 GB, free: 18.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4075, allocations: 0.7743 MB / 0.6124 GB, free: 18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.4104, allocations: 1.434 MB / 0.6138 GB, free: 17.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4105, allocations: 1.531 kB / 0.6138 GB, free: 17.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01464/0.4251, allocations: 4.3 MB / 0.618 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4251, allocations: 8 kB / 0.618 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4252, allocations: 320 / 0.618 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/0.4319, allocations: 2.096 MB / 0.6201 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.4325, allocations: 127.8 kB / 0.6202 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02501/0.4575, allocations: 10.65 MB / 0.6306 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.459, allocations: 167 kB / 0.6308 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.4591, allocations: 28 kB / 0.6308 GB, free: 1.27 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.0003676/0.4595, allocations: 238.6 kB / 0.631 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.4597, allocations: 106.7 kB / 0.6311 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/0.4748, allocations: 4.267 MB / 0.6353 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.4749, allocations: 12 kB / 0.6353 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4749, allocations: 3.938 kB / 0.6353 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.4749, allocations: 3.984 kB / 0.6353 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.4921, allocations: 5.679 MB / 0.6408 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.4921, allocations: 0 / 0.6408 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.4926, allocations: 83.84 kB / 0.6409 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007305/0.4999, allocations: 1.991 MB / 0.6429 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.5001, allocations: 19.94 kB / 0.6429 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/0.5253, allocations: 9.457 MB / 0.6521 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5254, allocations: 0 / 0.6521 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/0.543, allocations: 5.247 MB / 0.6572 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.5434, allocations: 195.5 kB / 0.6574 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5436, allocations: 20 kB / 0.6575 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.5448, allocations: 99.88 kB / 0.6575 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007065/0.5455, allocations: 224.7 kB / 0.6578 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.5456, allocations: 28 kB / 0.6578 GB, free: 5.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007457/0.5463, allocations: 0.5791 MB / 0.6584 GB, free: 4.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5463, allocations: 0 / 0.6584 GB, free: 4.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00123/0.5476, allocations: 419.6 kB / 0.6588 GB, free: 4.266 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.01778/0.5653, allocations: 5.809 MB / 0.6644 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008152/0.5735, allocations: 2.436 MB / 0.6668 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5736, allocations: 0 / 0.6668 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005912/0.5795, allocations: 1.68 MB / 0.6684 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.5804, allocations: 94.06 kB / 0.6685 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04195/0.6224, allocations: 15.82 MB / 0.684 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.6231, allocations: 1.053 MB / 0.685 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.6234, allocations: 82.23 kB / 0.6851 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.6239, allocations: 407.3 kB / 0.6855 GB, free: 8.406 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6239, allocations: 4 kB / 0.6855 GB, free: 8.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/0.691, allocations: 35.4 MB / 0.7201 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.41, allocations: 17.8 kB / 0.7201 GB, free: 5.113 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)