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.001029/0.001029, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.421/1.421, allocations: 223.3 MB / 239 MB, free: 5.461 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.001308/0.001308, allocations: 184.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5004/0.5004, allocations: 79.48 MB / 420.8 MB, free: 3.934 MB / 286.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004165, allocations: 8.219 kB / 0.4892 GB, free: 5.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4377, allocations: 69.51 MB / 0.5571 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.005325/0.443, allocations: 5.611 MB / 0.5626 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.4467, allocations: 1.733 MB / 0.5643 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.4474, allocations: 12.56 kB / 0.5643 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.448, allocations: 173.5 kB / 0.5644 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.4492, allocations: 468.7 kB / 0.5649 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.4506, allocations: 0.6313 MB / 0.5655 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.452, allocations: 1.24 MB / 0.5667 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.4523, allocations: 229.9 kB / 0.5669 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.4528, allocations: 483.4 kB / 0.5674 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.4534, allocations: 0.6214 MB / 0.568 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.4535, allocations: 58.12 kB / 0.5681 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.4539, allocations: 158.4 kB / 0.5682 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.4541, allocations: 225.2 kB / 0.5684 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4543, allocations: 209.2 kB / 0.5686 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009128/0.4552, allocations: 1.073 MB / 0.5697 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4552, allocations: 0 / 0.5697 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4552, allocations: 0 / 0.5697 GB, free: 35.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4553, allocations: 0 / 0.5697 GB, free: 35.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.006485/0.4618, allocations: 2.351 MB / 0.572 GB, free: 34.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4618, allocations: 8.656 kB / 0.572 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.462, allocations: 126.5 kB / 0.5721 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.4658, allocations: 0.6832 MB / 0.5728 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4669, allocations: 0.7007 MB / 0.5734 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.4672, allocations: 357.4 kB / 0.5738 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4674, allocations: 68.81 kB / 0.5739 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.4694, allocations: 1.184 MB / 0.575 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4694, allocations: 6.781 kB / 0.575 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.4695, allocations: 29.23 kB / 0.575 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4695, allocations: 18.83 kB / 0.5751 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4716, allocations: 1.135 MB / 0.5762 GB, free: 33.14 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.005079/0.4766, allocations: 3.502 MB / 0.5796 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.491, allocations: 5.179 MB / 0.5846 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.4929, allocations: 0.8077 MB / 0.5854 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.493, allocations: 14.94 kB / 0.5854 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4931, allocations: 43.88 kB / 0.5855 GB, free: 29.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 3.096e-06/0.4931, allocations: 0 / 0.5855 GB, free: 29.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03458/0.5277, allocations: 10.39 MB / 0.5956 GB, free: 28.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5278, allocations: 86.27 kB / 0.5957 GB, free: 27.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.5291, allocations: 0.839 MB / 0.5965 GB, free: 27.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.5294, allocations: 41.17 kB / 0.5966 GB, free: 27.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.5297, allocations: 458.2 kB / 0.597 GB, free: 27.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.53, allocations: 306.1 kB / 0.5973 GB, free: 26.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.5301, allocations: 23.38 kB / 0.5973 GB, free: 26.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.5302, allocations: 342.9 kB / 0.5977 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5317, allocations: 0.7096 MB / 0.5984 GB, free: 26.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.5333, allocations: 0.8588 MB / 0.5992 GB, free: 26.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.5349, allocations: 0.7549 MB / 0.5999 GB, free: 25.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5349, allocations: 5.125 kB / 0.5999 GB, free: 25.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01539/0.5503, allocations: 5.348 MB / 0.6052 GB, free: 24.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5503, allocations: 10.34 kB / 0.6052 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.5504, allocations: 5.609 kB / 0.6052 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007695/0.5581, allocations: 2.44 MB / 0.6076 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.5589, allocations: 126.7 kB / 0.6077 GB, free: 24.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.5822, allocations: 11.1 MB / 0.6185 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.5837, allocations: 199.1 kB / 0.6187 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5839, allocations: 32.94 kB / 0.6187 GB, free: 13.42 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.000444/0.5843, allocations: 233.6 kB / 0.619 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.5845, allocations: 120.8 kB / 0.6191 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5971, allocations: 5.28 MB / 0.6242 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5971, allocations: 8 kB / 0.6242 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5971, allocations: 0 / 0.6242 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.5972, allocations: 3.984 kB / 0.6242 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.6114, allocations: 6.699 MB / 0.6308 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.6115, allocations: 0 / 0.6308 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.612, allocations: 79.91 kB / 0.6309 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006352/0.6183, allocations: 2.339 MB / 0.6331 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.6185, allocations: 21.83 kB / 0.6332 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/0.6401, allocations: 9.745 MB / 0.6427 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.6402, allocations: 4 kB / 0.6427 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.6561, allocations: 6.325 MB / 0.6489 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.6566, allocations: 199.6 kB / 0.6491 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.6568, allocations: 19.98 kB / 0.6491 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6578, allocations: 140.9 kB / 0.6492 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006468/0.6584, allocations: 226.2 kB / 0.6494 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.6585, allocations: 27.98 kB / 0.6495 GB, free: 13.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007503/0.6593, allocations: 0.5731 MB / 0.65 GB, free: 13.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6593, allocations: 0 / 0.65 GB, free: 13.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001357/0.6606, allocations: 419.6 kB / 0.6504 GB, free: 12.65 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.01619/0.6768, allocations: 6.905 MB / 0.6572 GB, free: 5.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007197/0.6841, allocations: 2.722 MB / 0.6598 GB, free: 2.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6841, allocations: 4.25 kB / 0.6598 GB, free: 2.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005316/0.6895, allocations: 1.911 MB / 0.6617 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6907, allocations: 95.48 kB / 0.6618 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/0.7151, allocations: 11.33 MB / 0.6728 GB, free: 5.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.7158, allocations: 1.053 MB / 0.6739 GB, free: 4.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.7162, allocations: 80 kB / 0.6739 GB, free: 4.184 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.7167, allocations: 400.5 kB / 0.6743 GB, free: 3.793 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7168, allocations: 0 / 0.6743 GB, free: 3.793 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/0.7729, allocations: 31.76 MB / 0.7053 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.7732, allocations: 211.1 kB / 0.7055 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.418, allocations: 0 / 0.7055 GB, free: 4.176 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: