Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.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.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_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.001457/0.001457, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.52/1.52, allocations: 222.9 MB / 239 MB, free: 4.723 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.001832/0.001832, allocations: 192.4 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5803/0.5803, allocations: 92.61 MB / 432 MB, free: 8.703 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 80.16 kB / 0.5023 GB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4268, allocations: 71.38 MB / 0.572 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.005902/0.4328, allocations: 6.463 MB / 0.5783 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.4365, allocations: 1.831 MB / 0.5801 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007879/0.4373, allocations: 11.06 kB / 0.5801 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.4379, allocations: 182.2 kB / 0.5803 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.4392, allocations: 481.1 kB / 0.5808 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.4407, allocations: 0.7124 MB / 0.5815 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.442, allocations: 1.351 MB / 0.5828 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.4424, allocations: 293.7 kB / 0.5831 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006272/0.4431, allocations: 0.5476 MB / 0.5836 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.4437, allocations: 0.7028 MB / 0.5843 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.4439, allocations: 105.4 kB / 0.5844 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.4443, allocations: 220.5 kB / 0.5846 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4445, allocations: 272 kB / 0.5849 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.4449, allocations: 0.5965 MB / 0.5854 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.4462, allocations: 1.444 MB / 0.5869 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4463, allocations: 1.125 kB / 0.5869 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4463, allocations: 0 / 0.5869 GB, free: 27.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4463, allocations: 0 / 0.5869 GB, free: 27.97 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.008057/0.4543, allocations: 2.502 MB / 0.5893 GB, free: 26.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4544, allocations: 10.88 kB / 0.5893 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.4546, allocations: 123.8 kB / 0.5894 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004115/0.4587, allocations: 0.6764 MB / 0.5901 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4599, allocations: 0.7376 MB / 0.5908 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003276/0.4603, allocations: 345.9 kB / 0.5911 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.4604, allocations: 74.44 kB / 0.5912 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.4627, allocations: 1.105 MB / 0.5923 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4627, allocations: 1.188 kB / 0.5923 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.4628, allocations: 25.78 kB / 0.5923 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.4629, allocations: 19.94 kB / 0.5923 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.4652, allocations: 1.049 MB / 0.5934 GB, free: 24.96 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.00684/0.4721, allocations: 3.437 MB / 0.5967 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/0.4888, allocations: 3.953 MB / 0.6006 GB, free: 21.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4909, allocations: 0.7304 MB / 0.6013 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.4912, allocations: 17.92 kB / 0.6013 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4912, allocations: 47.14 kB / 0.6014 GB, free: 21.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 3.716e-06/0.4912, allocations: 0 / 0.6014 GB, free: 21.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03838/0.5296, allocations: 8.461 MB / 0.6096 GB, free: 19.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.5297, allocations: 87.08 kB / 0.6097 GB, free: 19.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5314, allocations: 0.8474 MB / 0.6105 GB, free: 19.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002724/0.5317, allocations: 40.11 kB / 0.6106 GB, free: 19.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.532, allocations: 453.4 kB / 0.611 GB, free: 18.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/0.5326, allocations: 305.9 kB / 0.6113 GB, free: 18.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.5331, allocations: 165.5 kB / 0.6114 GB, free: 18.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5333, allocations: 342.4 kB / 0.6118 GB, free: 18.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.5349, allocations: 0.6385 MB / 0.6124 GB, free: 17.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.5366, allocations: 0.7759 MB / 0.6132 GB, free: 17.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.5398, allocations: 1.433 MB / 0.6146 GB, free: 16.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.5398, allocations: 5.469 kB / 0.6146 GB, free: 16.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01442/0.5542, allocations: 4.301 MB / 0.6188 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.5543, allocations: 8.062 kB / 0.6188 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5543, allocations: 4 kB / 0.6188 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006439/0.5608, allocations: 2.088 MB / 0.6208 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.5615, allocations: 127.8 kB / 0.6209 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02547/0.587, allocations: 10.65 MB / 0.6313 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.5889, allocations: 167 kB / 0.6315 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.5892, allocations: 32 kB / 0.6315 GB, free: 276 kB / 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.0007158/0.5899, allocations: 225.6 kB / 0.6317 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/0.5905, allocations: 106.9 kB / 0.6318 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.6061, allocations: 4.267 MB / 0.636 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.6062, allocations: 8 kB / 0.636 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6062, allocations: 7.938 kB / 0.636 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/0.6062, allocations: 3.984 kB / 0.636 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/0.625, allocations: 5.679 MB / 0.6416 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/0.6251, allocations: 0 / 0.6416 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.6257, allocations: 87.83 kB / 0.6417 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007512/0.6333, allocations: 1.986 MB / 0.6436 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/0.6336, allocations: 16 kB / 0.6436 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0266/0.6602, allocations: 9.469 MB / 0.6529 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6603, allocations: 0 / 0.6529 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/0.6779, allocations: 5.239 MB / 0.658 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/0.6785, allocations: 203.5 kB / 0.6582 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/0.6791, allocations: 16 kB / 0.6582 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.6806, allocations: 103.9 kB / 0.6583 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009865/0.6816, allocations: 220.7 kB / 0.6585 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.6818, allocations: 23.98 kB / 0.6585 GB, free: 4.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001144/0.683, allocations: 0.583 MB / 0.6591 GB, free: 3.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.683, allocations: 0 / 0.6591 GB, free: 3.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002107/0.6851, allocations: 419.6 kB / 0.6595 GB, free: 3.277 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.01798/0.7031, allocations: 5.823 MB / 0.6652 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008814/0.7119, allocations: 2.432 MB / 0.6675 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.712, allocations: 0 / 0.6675 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006342/0.7183, allocations: 1.668 MB / 0.6692 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.72, allocations: 87.5 kB / 0.6693 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04647/0.7665, allocations: 16.19 MB / 0.6851 GB, free: 8.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.7675, allocations: 1.053 MB / 0.6861 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000455/0.768, allocations: 78.31 kB / 0.6862 GB, free: 7.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.7687, allocations: 403.3 kB / 0.6866 GB, free: 7.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7687, allocations: 0 / 0.6866 GB, free: 7.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07984/0.8486, allocations: 34.14 MB / 0.7199 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.849, allocations: 265.8 kB / 0.7201 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/3.928, allocations: 0 / 0.7201 GB, free: 4.832 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe 2>&1)